From 59ef7e341ba9880c597e87ed5d97cf6d84e288f0 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Wed, 4 Sep 2002 01:49:21 +0000 Subject: unref the "without", adapter, and model, then chain up the GnomeDialog 2002-09-03 Mike Kestner * gui/component/select-names/e-select-names.c (e_select_names_destroy): unref the "without", adapter, and model, then chain up the GnomeDialog destroy function. svn path=/trunk/; revision=17960 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/component/select-names/e-select-names.c | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 248566ec41..aea4c8f4ac 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2002-09-03 Mike Kestner + + * gui/component/select-names/e-select-names.c (e_select_names_destroy): + unref the "without", adapter, and model, then chain up the GnomeDialog + destroy function. + 2002-09-03 Ettore Perazzoli * gui/component/GNOME_Evolution_Addressbook.oaf.in: Use diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index 193ec51ff5..2d91290be4 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -596,8 +596,13 @@ e_select_names_destroy (GtkObject *object) gtk_object_unref(GTK_OBJECT(e_select_names->gui)); g_hash_table_foreach(e_select_names->children, (GHFunc) e_select_names_child_free, e_select_names); g_hash_table_destroy(e_select_names->children); + gtk_object_unref(GTK_OBJECT(e_select_names->without)); + gtk_object_unref(GTK_OBJECT(e_select_names->adapter)); + gtk_object_unref(GTK_OBJECT(e_select_names->model)); g_free(e_select_names->def); + + (*(GTK_OBJECT_CLASS(parent_class))->destroy)(object); } GtkWidget* -- cgit v1.2.3