aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-09-28 04:37:12 +0800
committerChris Toshok <toshok@src.gnome.org>2002-09-28 04:37:12 +0800
commitd2e7582cd4b08865a8bdec2fccc9dce21590f3ed (patch)
tree6b91de8152bb4d2fcb61c2da7c1e26da1f0723ca
parentf996b94cf6d33cb9af7c870d6e7423af84ba5cf2 (diff)
downloadgsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.tar.gz
gsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.tar.zst
gsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.zip
[ fixes #27521 ] always unref the contact editor when we get the
2002-09-27 Chris Toshok <toshok@ximian.com> [ fixes #27521 ] * gui/contact-editor/e-contact-quick-add.c (editor_closed_cb): always unref the contact editor when we get the editor_closed signal. svn path=/trunk/; revision=18255
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index b58fa7af0c..166297f596 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,12 @@
2002-09-27 Chris Toshok <toshok@ximian.com>
+ [ fixes #27521 ]
+ * gui/contact-editor/e-contact-quick-add.c (editor_closed_cb):
+ always unref the contact editor when we get the editor_closed
+ signal.
+
+2002-09-27 Chris Toshok <toshok@ximian.com>
+
* backend/pas/pas-backend-ldap.c (check_schema_support): set the
timeout to 30 seconds.
(query_ldap_root_dse): same, and also return the ldap_error since
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index 80687e1e0a..e8d623afb0 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -186,11 +186,11 @@ editor_closed_cb (GtkWidget *w, gpointer closure)
{
QuickAdd *qa = (QuickAdd *) gtk_object_get_data (GTK_OBJECT (w), "quick_add");
- if (qa) {
+ if (qa)
/* We don't need to unref qa because we set_data_full below */
gtk_object_set_data (GTK_OBJECT (w), "quick_add", NULL);
- gtk_object_unref (GTK_OBJECT (w));
- }
+
+ gtk_object_unref (GTK_OBJECT (w));
}
static void