aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-card.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-19 05:13:05 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-19 05:13:05 +0800
commit8589cb087050e616facdba00e79479868b08c07f (patch)
tree9d6416306b5566e350ab0ed42e5ee82839e0a278 /addressbook/backend/ebook/e-card.c
parent5f5b342dbd14a76290ef758292eee40e3df6d2ee (diff)
downloadgsoc2013-evolution-8589cb087050e616facdba00e79479868b08c07f.tar.gz
gsoc2013-evolution-8589cb087050e616facdba00e79479868b08c07f.tar.zst
gsoc2013-evolution-8589cb087050e616facdba00e79479868b08c07f.zip
Made this take a const GList.
2001-10-18 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card.c, backend/ebook/e-card.h (e_card_list_get_vcard): Made this take a const GList. svn path=/trunk/; revision=13773
Diffstat (limited to 'addressbook/backend/ebook/e-card.c')
-rw-r--r--addressbook/backend/ebook/e-card.c6
1 files changed, 3 insertions, 3 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;