From 8f3673b5fe40cf73bdb5fa8000c96969a9de9353 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 9 Aug 2001 06:24:27 +0000 Subject: Chain to the destroy handler in the parent class! 2001-08-09 Federico Mena Quintero * e-categories-master-list-wombat.c (ecmlw_destroy): Chain to the destroy handler in the parent class! * e-list-iterator.c (e_list_iterator_destroy): Likewise. Sigh. * e-list.c (e_list_destroy): Likewise. Double sigh. svn path=/trunk/; revision=11819 --- e-util/e-list.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'e-util/e-list.c') diff --git a/e-util/e-list.c b/e-util/e-list.c index f501be5ae5..64ccea728c 100644 --- a/e-util/e-list.c +++ b/e-util/e-list.c @@ -172,5 +172,8 @@ e_list_destroy (GtkObject *object) EList *list = E_LIST(object); g_list_foreach(list->list, (GFunc) list->free, list->closure); g_list_free(list->list); + + if (GTK_OBJECT_CLASS (parent_class)->destroy) + (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } -- cgit