aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-10-06 15:51:06 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-06 15:51:06 +0800
commitc648cb5a7c61f6ca266ff059a6c178e9707eff2e (patch)
tree566a683c24e32fee824609caa5129870e6d7396d /addressbook/gui/component
parent9ab12dd363d2478adb151ee0b1795f251b82f127 (diff)
downloadgsoc2013-evolution-c648cb5a7c61f6ca266ff059a6c178e9707eff2e.tar.gz
gsoc2013-evolution-c648cb5a7c61f6ca266ff059a6c178e9707eff2e.tar.zst
gsoc2013-evolution-c648cb5a7c61f6ca266ff059a6c178e9707eff2e.zip
db isn't a BonoboObject, so don't bonobo_object_unref it!
2001-10-06 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_new): db isn't a BonoboObject, so don't bonobo_object_unref it! svn path=/trunk/; revision=13477
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.c b/addressbook/gui/component/select-names/e-select-names-manager.c
index 2d8501411b..0a53e989d7 100644
--- a/addressbook/gui/component/select-names/e-select-names-manager.c
+++ b/addressbook/gui/component/select-names/e-select-names-manager.c
@@ -134,7 +134,9 @@ e_select_names_manager_new (void)
else
manager->completion_book = NULL;
- bonobo_object_unref (BONOBO_OBJECT (db));
+ CORBA_exception_init (&ev);
+ bonobo_object_release_unref (db, &ev);
+ CORBA_exception_free (&ev);
return manager;
}
@@ -178,6 +180,13 @@ e_select_names_manager_destroy (GtkObject *object)
gtk_object_unref(GTK_OBJECT(manager->sections));
gtk_object_unref(GTK_OBJECT(manager->entries));
+
+#ifdef E_SELECT_NAMES_MANAGERS_EVER_START_DYING
+ if (manager->names) {
+ gtk_widget_destroy (GTK_WIDGET (manager->names));
+ manager->names = NULL;
+ }
+#endif
}