aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-10-11 04:38:47 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-11 04:38:47 +0800
commitd74fe8f60dfecbe1ceaae89f8dad3679907d5738 (patch)
tree1c7ec683cd27ccf48af3fbb73cdafd5d0bf027aa
parentf33633d773fe244f012090224e695c6109382a44 (diff)
downloadgsoc2013-evolution-d74fe8f60dfecbe1ceaae89f8dad3679907d5738.tar.gz
gsoc2013-evolution-d74fe8f60dfecbe1ceaae89f8dad3679907d5738.tar.zst
gsoc2013-evolution-d74fe8f60dfecbe1ceaae89f8dad3679907d5738.zip
If our select names dialog is still around, destroy it. Otherwise, the
2001-10-10 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_destroy): If our select names dialog is still around, destroy it. Otherwise, the dialog will hang around after our composer goes away. svn path=/trunk/; revision=13565
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 9fe2c2b49f..7b4a2bb90b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2001-10-10 Jon Trowbridge <trow@ximian.com>
+
+ * gui/component/select-names/e-select-names-manager.c
+ (e_select_names_manager_destroy): If our select names dialog is
+ still around, destroy it. Otherwise, the dialog will hang around
+ after our composer goes away.
+
2001-10-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.glade: add an Email Address
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 0a53e989d7..5820a2bf52 100644
--- a/addressbook/gui/component/select-names/e-select-names-manager.c
+++ b/addressbook/gui/component/select-names/e-select-names-manager.c
@@ -181,12 +181,10 @@ 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
}