[evolution-mapi] Adapt to recent EBookBackendSQLiteDB API changes (deprecated symbols)



commit 15890535d29f8f08feb75dfbae8273c529d4943b
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 22 13:01:47 2013 +0100

    Adapt to recent EBookBackendSQLiteDB API changes (deprecated symbols)

 src/addressbook/e-book-backend-mapi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-mapi.c b/src/addressbook/e-book-backend-mapi.c
index f2c496d..5ecac20 100644
--- a/src/addressbook/e-book-backend-mapi.c
+++ b/src/addressbook/e-book-backend-mapi.c
@@ -1577,9 +1577,9 @@ e_book_backend_mapi_notify_contact_update (EBookBackendMAPI *ebma,
 	if (!pbook_view && g_cancellable_is_cancelled (priv->update_cache))
 		return FALSE;
 
-	e_book_backend_sqlitedb_add_contact (priv->db,
+	e_book_backend_sqlitedb_new_contact (priv->db,
 					     EMA_EBB_CACHE_FOLDERID, contact,
-					     FALSE, &error);
+					     TRUE, &error);
 
 	/* commit not often than each minute, also to not lose data already transferred */
 	if (cache_is_locked && current_time - priv->last_db_commit_time >= 60000) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]