From d127246c379859fbb890c382dc75e521848cbda7 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Sun, 28 Oct 2012 11:16:08 +0200 Subject: [eel] remove commented out canvas code --- eel/eel-canvas.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'eel/eel-canvas.c') diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index b3b4c482..84c4219b 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -523,11 +523,6 @@ eel_canvas_item_set_valist (EelCanvasItem *item, const gchar *first_arg_name, va g_object_set_valist (G_OBJECT (item), first_arg_name, args); -#if 0 - /* I commented this out, because item implementations have to schedule update/redraw */ - eel_canvas_item_request_redraw (item); -#endif - item->canvas->need_repick = TRUE; } -- cgit v1.2.1 From 558280660418ef9e27e36ddd0619225c691e44b7 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Thu, 25 Oct 2012 18:34:52 +0200 Subject: [all] silence warnings from GCC 4.6 GCC 4.6 introduced a new warning about variables declared and initialized, but not really used in the function body. Remove all of these occurrences to build cleanly. http://git.gnome.org/browse/nautilus/commit/?id=d4230de8667764e02dbb966b5d806ff78ced2fd5 --- eel/eel-canvas.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'eel/eel-canvas.c') diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index 84c4219b..24f84e24 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -1381,12 +1381,10 @@ static void eel_canvas_group_get_property (GObject *gobject, guint param_id, GValue *value, GParamSpec *pspec) { - EelCanvasItem *item; EelCanvasGroup *group; g_return_if_fail (EEL_IS_CANVAS_GROUP (gobject)); - item = EEL_CANVAS_ITEM (gobject); group = EEL_CANVAS_GROUP (gobject); switch (param_id) @@ -2851,9 +2849,6 @@ pick_current_item (EelCanvas *canvas, GdkEvent *event) && !canvas->left_grabbed_item) { GdkEvent new_event; - EelCanvasItem *item; - - item = canvas->current_item; new_event = canvas->pick_event; new_event.type = GDK_LEAVE_NOTIFY; -- cgit v1.2.1