diff options
Diffstat (limited to 'addressbook/backend')
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 6 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index 34f924d4b1..cbea56a6bc 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -422,7 +422,7 @@ addPropValueQP(VObject *o, const char *p, const char *v) } static void -addPropValueSets (VObject *o, char *p, char *v, gboolean assumeUTF8, gboolean *is_ascii, gboolean *has_return) +addPropValueSets (VObject *o, const char *p, const char *v, gboolean assumeUTF8, gboolean *is_ascii, gboolean *has_return) { addPropValue (o, p, v); if (*has_return && (assumeUTF8 || !*is_ascii)) @@ -475,7 +475,7 @@ addPropValueSets (VObject *o, char *p, char *v, gboolean assumeUTF8, gboolean *i static VObject * -e_card_get_vobject (ECard *card, gboolean assumeUTF8) +e_card_get_vobject (const ECard *card, gboolean assumeUTF8) { VObject *vobj; @@ -839,7 +839,7 @@ e_card_get_vcard_assume_utf8 (ECard *card) * Returns: a string in vCard format. */ char * -e_card_list_get_vcard (GList *list) +e_card_list_get_vcard (const GList *list) { VObject *vobj; diff --git a/addressbook/backend/ebook/e-card.h b/addressbook/backend/ebook/e-card.h index 242c9738b7..3fa6ca2700 100644 --- a/addressbook/backend/ebook/e-card.h +++ b/addressbook/backend/ebook/e-card.h @@ -129,7 +129,7 @@ void e_card_set_book (ECard struct _EBook *book); char *e_card_get_vcard (ECard *card); char *e_card_get_vcard_assume_utf8 (ECard *card); -char *e_card_list_get_vcard (GList *list); +char *e_card_list_get_vcard (const GList *list); ECard *e_card_duplicate (ECard *card); float e_card_get_use_score (ECard *card); void e_card_touch (ECard *card); |