OSSO_ABOOK_CONTACT typecast has been added to EContact pointer type
[modest] / src / hildon2 / modest-address-book.c
index 0b3ba27..5baae04 100644 (file)
@@ -373,7 +373,7 @@ commit_contact(EContact * contact, gboolean is_new)
        osso_abook_contact_commit(contact, is_new, book);
 #else
        if (OSSO_ABOOK_IS_CONTACT (contact)) {
-               osso_abook_contact_commit(contact, is_new, book, NULL);
+               osso_abook_contact_commit(OSSO_ABOOK_CONTACT(contact), is_new, book, NULL);
        } else {
                e_book_commit_contact (book, contact, NULL);
        }