summaryrefslogtreecommitdiff
path: root/eel/eel-canvas.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-11-01 14:24:23 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2010-11-01 17:41:59 +0100
commit7029d317446f26f829a794884abe07d6ce980a5f (patch)
tree14251cfba745ae6c7d4e2aa39943c627b89f3b5b /eel/eel-canvas.c
parent27f14a83ca6b656c20f6f7851b11dee12bfd4540 (diff)
downloadnautilus-7029d317446f26f829a794884abe07d6ce980a5f.tar.gz
canvas: remove commented out code
Diffstat (limited to 'eel/eel-canvas.c')
-rw-r--r--eel/eel-canvas.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index a3fe41699..519963286 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -495,11 +495,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;
}
@@ -1654,12 +1649,7 @@ eel_canvas_group_bounds (EelCanvasItem *item, double *x1, double *y1, double *x2
static void
group_add (EelCanvasGroup *group, EelCanvasItem *item)
{
-#if GLIB_CHECK_VERSION(2,10,0) && GTK_CHECK_VERSION(2,8,14)
g_object_ref_sink (item);
-#else
- g_object_ref (item);
- gtk_object_sink (GTK_OBJECT (item));
-#endif
if (!group->item_list) {
group->item_list = g_list_append (group->item_list, item);
@@ -3234,9 +3224,6 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n)
window = gdk_window_new (gtk_widget_get_parent_window (widget),
&attributes, attributes_mask);
-#if 0
- gdk_window_set_back_pixmap (window, NULL, FALSE);
-#endif
gdk_window_set_user_data (window, widget);
gdk_window_show (window);