[gnome-panel] fish: Remove unneeded variable



commit 8a1060a1222d592aaa1957025fc1c366a82f9d46
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Feb 2 12:05:45 2012 +0100

    fish: Remove unneeded variable

 applets/fish/fish.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index fcafb06..55173da 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -1070,7 +1070,6 @@ fish_applet_draw (GtkWidget  *widget,
 		  cairo_t    *cr,
 		  FishApplet *fish)
 {
-	GdkWindow *window;
 	int width, height;
 	int src_x, src_y;
 
@@ -1078,8 +1077,6 @@ fish_applet_draw (GtkWidget  *widget,
 
 	g_assert (fish->n_frames > 0);
 
-	window = gtk_widget_get_window (widget);
-
 	width = cairo_xlib_surface_get_width (fish->surface);
 	height = cairo_xlib_surface_get_height (fish->surface);
 



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