aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-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