aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);