OSSO_ABOOK_CONTACT typecast has been added to EContact pointer type
authorSudheer Chiluveri <Sudheer.Chiluveri@nokia.com>
Wed, 17 Dec 2008 19:06:21 +0000 (19:06 +0000)
committerSudheer Chiluveri <Sudheer.Chiluveri@nokia.com>
Wed, 17 Dec 2008 19:06:21 +0000 (19:06 +0000)
pmo-trunk-r6934

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);
        }