aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor/e-contact-list-editor.c
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2005-01-29 03:29:55 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2005-01-29 03:29:55 +0800
commit2af8159df56550e60a46f58e8d84eb528f015c22 (patch)
tree00797562daaa77561e2c17f1e2d81f1b2d57f12f /addressbook/gui/contact-list-editor/e-contact-list-editor.c
parentdb9ecaacf2dbf3699c41fa0cbfcdc04439dd8f40 (diff)
downloadgsoc2013-evolution-2af8159df56550e60a46f58e8d84eb528f015c22.tar
gsoc2013-evolution-2af8159df56550e60a46f58e8d84eb528f015c22.tar.gz
gsoc2013-evolution-2af8159df56550e60a46f58e8d84eb528f015c22.tar.bz2
gsoc2013-evolution-2af8159df56550e60a46f58e8d84eb528f015c22.tar.lz
gsoc2013-evolution-2af8159df56550e60a46f58e8d84eb528f015c22.tar.xz
gsoc2013-evolution-2af8159df56550e60a46f58e8d84eb528f015c22.tar.zst
gsoc2013-evolution-2af8159df56550e60a46f58e8d84eb528f015c22.zip
call the eab_merging_* functions instead of e_book_sync* directly. The
2004-01-29 Parthasarathi Susarla <sparthasarathi@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (save_contact) : call the eab_merging_* functions instead of e_book_sync* directly. The merging function check for duplication. The following functions have been called: 1. eab_merging_book_add_contact for adding a new entry 2. eab_merging_book_commit_contact for commiting a modified entry Fixes bug #57819 svn path=/trunk/; revision=28604
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 3915dde094..7cbf1d8dff 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -48,6 +48,7 @@
#include "e-contact-editor.h"
#include "e-contact-list-model.h"
#include "e-contact-list-editor-marshal.h"
+#include "eab-contact-merging.h"
static void e_contact_list_editor_init (EContactListEditor *editor);
static void e_contact_list_editor_class_init (EContactListEditorClass *klass);
@@ -413,9 +414,9 @@ save_contact (EContactListEditor *cle, gboolean should_close)
cle->in_async_call = TRUE;
if (cle->is_new_list)
- e_book_async_add_contact (cle->book, cle->contact, (EBookIdCallback)list_added_cb, ecs);
+ eab_merging_book_add_contact (cle->book, cle->contact, (EBookIdCallback)list_added_cb, ecs);
else
- e_book_async_commit_contact (cle->book, cle->contact, (EBookCallback)list_modified_cb, ecs);
+ eab_merging_book_commit_contact (cle->book, cle->contact, (EBookCallback)list_modified_cb, ecs);
cle->changed = FALSE;
}