[nautilus] canvas: remove commented out code



commit 7029d317446f26f829a794884abe07d6ce980a5f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Nov 1 14:24:23 2010 +0100

    canvas: remove commented out code

 eel/eel-canvas.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index a3fe416..5199632 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]