summaryrefslogtreecommitdiff
path: root/eel/eel-canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'eel/eel-canvas.c')
-rw-r--r--eel/eel-canvas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index dc98bbc3..7efa67f8 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -3294,7 +3294,6 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n)
window = NULL;
if (gtk_widget_get_mapped (widget))
{
- GtkAllocation allocation;
attributes.window_type = GDK_WINDOW_CHILD;
gtk_widget_get_allocation (widget, &allocation);
attributes.x = allocation.x;