aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-new-dialog.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-09 13:20:46 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-09 13:20:46 +0800
commitcd0a7332190835f0137f7fb0fd42d90f9fa55f4a (patch)
tree0b2e5b5f175dea04811b0a4865d9422490e6c088 /widgets/menus/gal-view-new-dialog.c
parent633656205f00b29de0cc4247391c1f4b6ff801a0 (diff)
downloadgsoc2013-evolution-cd0a7332190835f0137f7fb0fd42d90f9fa55f4a.tar.gz
gsoc2013-evolution-cd0a7332190835f0137f7fb0fd42d90f9fa55f4a.tar.zst
gsoc2013-evolution-cd0a7332190835f0137f7fb0fd42d90f9fa55f4a.zip
Chain to the destroy handler in the parent class!
2001-08-09 Federico Mena Quintero <federico@ximian.com> * gal-define-views-dialog.c (gal_define_views_dialog_destroy): Chain to the destroy handler in the parent class! * gal-define-views-model.c (gdvm_destroy): Likewise. Sigh. * gal-view-etable.c (gal_view_etable_destroy): Likewise. Double sigh. * gal-view-factory-etable.c (gal_view_factory_etable_destroy): Likewise. Triple sigh. * gal-view-new-dialog.c (gal_view_new_dialog_destroy): Likewise. Quadruple sigh. svn path=/trunk/; revision=11814
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*