[evolution-mapi] Fix build failure due to rename of E_CONTACT_BOOK_URI to E_CONTACT_BOOK_UID



commit e1afe3024ddf647099428a5f8f6dc630cc4ecd2a
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 25 10:21:36 2012 +0200

    Fix build failure due to rename of E_CONTACT_BOOK_URI to E_CONTACT_BOOK_UID

 src/addressbook/e-book-backend-mapi-contacts.c |    2 +-
 src/libexchangemapi/e-mapi-book-utils.c        |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-mapi-contacts.c b/src/addressbook/e-book-backend-mapi-contacts.c
index ae9cea6..9b628f7 100644
--- a/src/addressbook/e-book-backend-mapi-contacts.c
+++ b/src/addressbook/e-book-backend-mapi-contacts.c
@@ -504,7 +504,7 @@ ebbm_contacts_create_contacts (EBookBackendMAPI *ebma, GCancellable *cancellable
 
 	/* UID of the contact is nothing but the concatenated string of hex id of folder and the message.*/
 	e_contact_set (contact, E_CONTACT_UID, id);
-	e_contact_set (contact, E_CONTACT_BOOK_URI, e_book_backend_mapi_get_book_uid (ebma));
+	e_contact_set (contact, E_CONTACT_BOOK_UID, e_book_backend_mapi_get_book_uid (ebma));
 
 	g_free (id);
 
diff --git a/src/libexchangemapi/e-mapi-book-utils.c b/src/libexchangemapi/e-mapi-book-utils.c
index 6ca91d4..887f409 100644
--- a/src/libexchangemapi/e-mapi-book-utils.c
+++ b/src/libexchangemapi/e-mapi-book-utils.c
@@ -140,7 +140,7 @@ e_mapi_book_utils_contact_from_object (EMapiConnection *conn,
 
 	contact = e_contact_new ();
 	if (book_uri)
-		e_contact_set (contact, E_CONTACT_BOOK_URI, book_uri);
+		e_contact_set (contact, E_CONTACT_BOOK_UID, book_uri);
 
 	#define get_proptag(proptag) e_mapi_util_find_array_propval (&object->properties, proptag)
 	#define get_str_proptag(proptag) not_null (get_proptag (proptag))
@@ -1152,7 +1152,7 @@ e_mapi_book_utils_get_supported_contact_fields (void)
 		fields = g_slist_append (fields, (gpointer) e_contact_field_name (mappings[ii].field_id));
 	}
 
-	fields = g_slist_append (fields, (gpointer) e_contact_field_name (E_CONTACT_BOOK_URI));
+	fields = g_slist_append (fields, (gpointer) e_contact_field_name (E_CONTACT_BOOK_UID));
 
 	return fields;
 }



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