From 8efc1bc6f91e06ca61b00eb8119c9c36697e43a6 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Tue, 8 Feb 2011 11:57:50 -0500 Subject: Bug 641756 - Fix warnings from GCC 4.6 GCC learned how to find dead assignments. --- libgnomecanvas/gnome-canvas.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libgnomecanvas/gnome-canvas.c') diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c index 16956fb70a..b26dc94679 100644 --- a/libgnomecanvas/gnome-canvas.c +++ b/libgnomecanvas/gnome-canvas.c @@ -1729,7 +1729,6 @@ gnome_canvas_paint_rect (GnomeCanvas *canvas, gint y1) { GtkWidget *widget; - GdkWindow *bin_window; GtkAllocation allocation; GtkScrollable *scrollable; GtkAdjustment *hadjustment; @@ -1744,7 +1743,6 @@ gnome_canvas_paint_rect (GnomeCanvas *canvas, widget = GTK_WIDGET (canvas); gtk_widget_get_allocation (widget, &allocation); - bin_window = gtk_layout_get_bin_window (GTK_LAYOUT (canvas)); scrollable = GTK_SCROLLABLE (canvas); hadjustment = gtk_scrollable_get_hadjustment (scrollable); -- cgit v1.2.3