summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telepathy-glib/contacts-mixin.c2
-rw-r--r--telepathy-glib/contacts-mixin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/contacts-mixin.c b/telepathy-glib/contacts-mixin.c
index 49418951..e5a13746 100644
--- a/telepathy-glib/contacts-mixin.c
+++ b/telepathy-glib/contacts-mixin.c
@@ -423,7 +423,7 @@ tp_contacts_mixin_add_contact_attributes_iface (GObject *obj,
void
tp_contacts_mixin_set_contact_attribute (GHashTable *contact_attributes,
- TpHandle handle, gchar *attribute, GValue *value)
+ TpHandle handle, const gchar *attribute, GValue *value)
{
GHashTable *attributes;
diff --git a/telepathy-glib/contacts-mixin.h b/telepathy-glib/contacts-mixin.h
index 2aad0cc9..4dcda66f 100644
--- a/telepathy-glib/contacts-mixin.h
+++ b/telepathy-glib/contacts-mixin.h
@@ -102,7 +102,7 @@ void tp_contacts_mixin_add_contact_attributes_iface (GObject *obj,
TpContactsMixinFillContactAttributesFunc fill_contact_attributes);
void tp_contacts_mixin_set_contact_attribute (GHashTable *contact_attributes,
- TpHandle handle, gchar *attribute, GValue *value);
+ TpHandle handle, const gchar *attribute, GValue *value);
G_END_DECLS