diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-01-23 21:50:39 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-23 21:51:38 -0500 |
commit | d9fcc4c630f3668dd014c258c2deb22d61e438d0 (patch) | |
tree | 8b08e3e470f98aaa23173d19a6ab99fc4d12691d /gtk/gtkbutton.c | |
parent | 94c4a312c1eceb352dea1895f868f9943735e1aa (diff) | |
download | gtk+-d9fcc4c630f3668dd014c258c2deb22d61e438d0.tar.gz |
Silence new gcc warnings
gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r-- | gtk/gtkbutton.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index d038b311ec..9bc416ea33 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -1566,7 +1566,6 @@ _gtk_button_paint (GtkButton *button, gint focus_width; gint focus_pad; GtkAllocation allocation; - GdkWindow *window; GtkStyleContext *context; widget = GTK_WIDGET (button); @@ -1582,7 +1581,6 @@ _gtk_button_paint (GtkButton *button, NULL); gtk_widget_get_allocation (widget, &allocation); - window = gtk_widget_get_window (widget); x = 0; y = 0; |