From: John Darrington Date: Sat, 13 Dec 2008 07:34:34 +0000 (+0900) Subject: Fix warning X-Git-Tag: v0.7.1~36 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81499e9569600b46ead06bd1368ebaf84bdc23a5;p=pspp-builds.git Fix warning --- diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index 9ab8be40..ec49e499 100644 --- a/lib/gtksheet/gtksheet.c +++ b/lib/gtksheet/gtksheet.c @@ -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),