aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-10-31 06:55:08 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-31 06:55:08 +0800
commitd408223fe719c64e24fbcf01b8b899f5e72ab2c0 (patch)
treeaeacd50e2a823362520ea02f04878029690eaf4a /addressbook
parent641ac2a1681371a6b88a970821059560b9e358b7 (diff)
downloadgsoc2013-evolution-d408223fe719c64e24fbcf01b8b899f5e72ab2c0.tar.gz
gsoc2013-evolution-d408223fe719c64e24fbcf01b8b899f5e72ab2c0.tar.zst
gsoc2013-evolution-d408223fe719c64e24fbcf01b8b899f5e72ab2c0.zip
Force the select names dialog to be destroyed. This is a hack to fix bug
2001-10-30 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (impl_destroy): Force the select names dialog to be destroyed. This is a hack to fix bug #14002 -- I'll clean up the refcounting issues post-freeze. At least now it won't crash. svn path=/trunk/; revision=14495
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/select-names/e-select-names-bonobo.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 97466521b6..920fe57c53 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2001-10-30 Jon Trowbridge <trow@ximian.com>
+
+ * gui/component/select-names/e-select-names-bonobo.c
+ (impl_destroy): Force the select names dialog to be destroyed.
+ This is a hack to fix bug #14002 -- I'll clean up the refcounting
+ issues post-freeze. At least now it won't crash.
+
2001-10-30 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): make sure
diff --git a/addressbook/gui/component/select-names/e-select-names-bonobo.c b/addressbook/gui/component/select-names/e-select-names-bonobo.c
index 8952b0d0e3..7f33d335b7 100644
--- a/addressbook/gui/component/select-names/e-select-names-bonobo.c
+++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c
@@ -357,6 +357,13 @@ impl_destroy (GtkObject *object)
select_names = E_SELECT_NAMES_BONOBO (object);
priv = select_names->priv;
+ /* FIXME: a hack to work around some ref counting brokenness that
+ I'll fix later. */
+ if (priv->manager->names) {
+ gtk_widget_destroy (GTK_WIDGET (priv->manager->names));
+ priv->manager->names = NULL;
+ }
+
gtk_object_unref (GTK_OBJECT (priv->manager));
g_free (priv);