diff options
author | Chris Toshok <toshok@ximian.com> | 2002-09-28 04:37:12 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-09-28 04:37:12 +0800 |
commit | d2e7582cd4b08865a8bdec2fccc9dce21590f3ed (patch) | |
tree | 6b91de8152bb4d2fcb61c2da7c1e26da1f0723ca /addressbook/gui/contact-editor | |
parent | f996b94cf6d33cb9af7c870d6e7423af84ba5cf2 (diff) | |
download | gsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.tar gsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.tar.gz gsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.tar.bz2 gsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.tar.lz gsoc2013-evolution-d2e7582cd4b08865a8bdec2fccc9dce21590f3ed.tar.xz 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
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |