Fix warning
[pspp] / 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),