aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/eab-editor.c
diff options
context:
space:
mode:
authorSimon Zheng <simon.zheng@sun.com>2006-01-25 12:16:39 +0800
committerHarry Lu <haip@src.gnome.org>2006-01-25 12:16:39 +0800
commitbf44ea0b3f438ad69bfec3aa94f22b36c8f759ba (patch)
treef8cff0ec1f086f7dafd92e3da6844d35404ef983 /addressbook/gui/contact-editor/eab-editor.c
parenta513c9211009bfa074c945bdaa2757193e3f4198 (diff)
downloadgsoc2013-evolution-bf44ea0b3f438ad69bfec3aa94f22b36c8f759ba.tar.gz
gsoc2013-evolution-bf44ea0b3f438ad69bfec3aa94f22b36c8f759ba.tar.zst
gsoc2013-evolution-bf44ea0b3f438ad69bfec3aa94f22b36c8f759ba.zip
** Fixes #327203
2006-01-25 Simon Zheng <simon.zheng@sun.com> ** Fixes #327203 * gui/contact-editor/e-contact-editor.c (app_delete_event_cb): Checking the validity of contact editor should be done after extracting all fields. This's done in save_contact(). * gui/contact-editor/eab-editor.c (eab_editor_prompt_to_save_changes): To avoid repeating free memory, delete eab_editor_close(). In fact, eab_editor_save_contact() has done it before. svn path=/trunk/; revision=31299
Diffstat (limited to 'addressbook/gui/contact-editor/eab-editor.c')
-rw-r--r--addressbook/gui/contact-editor/eab-editor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/eab-editor.c b/addressbook/gui/contact-editor/eab-editor.c
index 7c0efa0cca..31ed8a77b2 100644
--- a/addressbook/gui/contact-editor/eab-editor.c
+++ b/addressbook/gui/contact-editor/eab-editor.c
@@ -269,7 +269,6 @@ eab_editor_prompt_to_save_changes (EABEditor *editor, GtkWindow *window)
return FALSE;
}
eab_editor_save_contact (editor, TRUE);
- eab_editor_close (EAB_EDITOR (editor));
return TRUE;
case GTK_RESPONSE_NO:
eab_editor_close (EAB_EDITOR (editor));