Fixed a typo
authorSergio Villar Senin <svillar@igalia.com>
Mon, 8 Jun 2009 17:07:05 +0000 (19:07 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 11 Jun 2009 11:46:35 +0000 (13:46 +0200)
src/hildon2/modest-address-book.c

index d460222..0c4486f 100644 (file)
@@ -219,7 +219,7 @@ get_recipients_for_given_contact (EContact * contact,
 
                emailid = get_email_addr_from_user(display_name, canceled);
                if (emailid) {
 
                emailid = get_email_addr_from_user(display_name, canceled);
                if (emailid) {
-                       e_contact_set(contact, E_CONTACT_EMAIL_1, emailid);
+                       e_contact_set(E_CONTACT (abook_contact), E_CONTACT_EMAIL_1, emailid);
                        osso_abook_contact_commit (abook_contact, FALSE, NULL, NULL);
                }
                g_object_unref (abook_contact);
                        osso_abook_contact_commit (abook_contact, FALSE, NULL, NULL);
                }
                g_object_unref (abook_contact);