summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
Diffstat (limited to 'eel')
-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 b3aa886a0..09220f15a 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -3470,7 +3470,6 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas,
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;