diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-10-31 06:55:08 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-31 06:55:08 +0800 |
commit | d408223fe719c64e24fbcf01b8b899f5e72ab2c0 (patch) | |
tree | aeacd50e2a823362520ea02f04878029690eaf4a /addressbook/gui | |
parent | 641ac2a1681371a6b88a970821059560b9e358b7 (diff) | |
download | gsoc2013-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/gui')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-bonobo.c | 7 |
1 files changed, 7 insertions, 0 deletions
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); |