From 81499e9569600b46ead06bd1368ebaf84bdc23a5 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 13 Dec 2008 16:34:34 +0900 Subject: [PATCH] Fix warning --- lib/gtksheet/gtksheet.c | 2 ++ 1 file changed, 2 insertions(+) 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), -- 2.30.2