Fix warning
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 13 Dec 2008 07:34:34 +0000 (16:34 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 13 Dec 2008 07:34:34 +0000 (16:34 +0900)
lib/gtksheet/gtksheet.c

index 9ab8be400c2f65ccb90b0de38da121df2cc4016e..ec49e49923f16b6077b73e2bbdc745e74af42745 100644 (file)
@@ -4672,6 +4672,8 @@ draw_button (GtkSheet *sheet, GdkWindow *window,
                         allocation.x, allocation.y,
                         allocation.width, allocation.height);
 
+  gtk_widget_ensure_style (sheet->button);
+
   gtk_paint_box (sheet->button->style, window,
                 GTK_STATE_NORMAL, GTK_SHADOW_OUT,
                 &allocation, GTK_WIDGET (sheet->button),