aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2002-09-04 09:49:21 +0800
committerMike Kestner <mkestner@src.gnome.org>2002-09-04 09:49:21 +0800
commit59ef7e341ba9880c597e87ed5d97cf6d84e288f0 (patch)
tree2ff497a7ca26539e448b41dcfc16f6facf925700
parent0f2f62dbd038d831d1979d126358250c5b4aed5f (diff)
downloadgsoc2013-evolution-59ef7e341ba9880c597e87ed5d97cf6d84e288f0.tar
gsoc2013-evolution-59ef7e341ba9880c597e87ed5d97cf6d84e288f0.tar.gz
gsoc2013-evolution-59ef7e341ba9880c597e87ed5d97cf6d84e288f0.tar.bz2
gsoc2013-evolution-59ef7e341ba9880c597e87ed5d97cf6d84e288f0.tar.lz
gsoc2013-evolution-59ef7e341ba9880c597e87ed5d97cf6d84e288f0.tar.xz
gsoc2013-evolution-59ef7e341ba9880c597e87ed5d97cf6d84e288f0.tar.zst
gsoc2013-evolution-59ef7e341ba9880c597e87ed5d97cf6d84e288f0.zip
unref the "without", adapter, and model, then chain up the GnomeDialog
2002-09-03 Mike Kestner <mkestner@ximian.com> * 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
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c5
2 files changed, 11 insertions, 0 deletions
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 <mkestner@ximian.com>
+
+ * 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 <ettore@ximian.com>
* 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*