Discussion Board
libebook
2010-05-13, 00:51
#1
Registered User
Hi,
I need to parse a vcard and i'm using libebook/e-contact.h to do it. Now, my problem is to split the address field (or ADR in vcard).
I do it at this way:
GList* address_list;
char* street;
address_list = e_contact_get(contact, E_CONTACT_ADDRESS);
EContactAddress* addr = (EContactAddress*) address_list->data;
street = addr->street;
but it isn't work, it gives me a segmentation fault.
Can anyone help me.
best regards,
JM30
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules