diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-08-09 14:25:54 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-08-09 14:25:54 +0800 |
commit | df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0 (patch) | |
tree | f1cab3cb2984ee9c57d181e0865ceabcd9c0e037 /calendar/gui/dialogs/comp-editor-page.c | |
parent | 8f3673b5fe40cf73bdb5fa8000c96969a9de9353 (diff) | |
download | gsoc2013-evolution-df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0.tar gsoc2013-evolution-df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0.tar.gz gsoc2013-evolution-df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0.tar.bz2 gsoc2013-evolution-df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0.tar.lz gsoc2013-evolution-df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0.tar.xz gsoc2013-evolution-df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0.tar.zst gsoc2013-evolution-df0dbaef4aa3530ca72ff879b51472d6dc1a8ad0.zip |
Chain to the destroy handler in the parent class!
2001-08-09 Federico Mena Quintero <federico@ximian.com>
* gui/e-itip-control.c (destroy): Chain to the destroy handler in
the parent class!
* gui/dialogs/comp-editor-page.c (comp_editor_page_destroy):
Likewise. Sigh.
* gui/cal-search-bar.c (cal_search_bar_destroy): Whoops, added a
destroy handler.
svn path=/trunk/; revision=11820
Diffstat (limited to 'calendar/gui/dialogs/comp-editor-page.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor-page.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor-page.c b/calendar/gui/dialogs/comp-editor-page.c index 4e15ebeda9..27f4041d3a 100644 --- a/calendar/gui/dialogs/comp-editor-page.c +++ b/calendar/gui/dialogs/comp-editor-page.c @@ -32,6 +32,8 @@ static void comp_editor_page_class_init (CompEditorPageClass *class); static void comp_editor_page_init (CompEditorPage *page); static void comp_editor_page_destroy (GtkObject *object); +static GtkObjectClass *parent_class = NULL; + /* Signal IDs */ enum { @@ -89,6 +91,8 @@ comp_editor_page_class_init (CompEditorPageClass *class) object_class = (GtkObjectClass *) class; + parent_class = gtk_type_class (GTK_TYPE_OBJECT); + comp_editor_page_signals[CHANGED] = gtk_signal_new ("changed", GTK_RUN_FIRST, @@ -166,6 +170,9 @@ comp_editor_page_destroy (GtkObject *object) gtk_object_ref (GTK_OBJECT (page->client)); page->client = NULL; } + + if (GTK_OBJECT_CLASS (parent_class)->destroy) + (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } |