aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-new-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-view-new-dialog.c')
-rw-r--r--widgets/menus/gal-view-new-dialog.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c
index 4b7d298fb6..494e19ff75 100644
--- a/widgets/menus/gal-view-new-dialog.c
+++ b/widgets/menus/gal-view-new-dialog.c
@@ -116,10 +116,14 @@ gal_view_new_dialog_init (GalViewNewDialog *dialog)
}
static void
-gal_view_new_dialog_destroy (GtkObject *object) {
+gal_view_new_dialog_destroy (GtkObject *object)
+{
GalViewNewDialog *gal_view_new_dialog = GAL_VIEW_NEW_DIALOG(object);
gtk_object_unref(GTK_OBJECT(gal_view_new_dialog->gui));
+
+ if (GTK_OBJECT_CLASS (parent_class)->destroy)
+ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
GtkWidget*