]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkbutton.c
Silence new gcc warnings
[~andy/gtk] / gtk / gtkbutton.c
index d038b311ecff4a24bed8c82c6de738afaf897d10..9bc416ea337f8062e884ede9598212eeda455792 100644 (file)
@@ -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;