+2008-05-08 Ben Pfaff <blp@gnu.org>
+
+ Patch #6506. Reviewed by John Darrington.
+
+ * gtksheet.c (gtk_sheet_unrealize): Don't call gtk_widget_unparent
+ on sheet->button if it's null.
+
2008-05-06 Ben Pfaff <blp@gnu.org>
* gtksheet.c (gtk_sheet_dispose): Set the sheet's entry_container
sheet->bg_gc = NULL;
gtk_widget_unparent (sheet->entry_widget);
- gtk_widget_unparent (sheet->button);
+ if (sheet->button != NULL)
+ gtk_widget_unparent (sheet->button);
if (GTK_WIDGET_CLASS (parent_class)->unrealize)
(* GTK_WIDGET_CLASS (parent_class)->unrealize) (widget);