summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2010-02-24 17:31:05 +0200
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2010-02-24 17:31:05 +0200
commit64016db8dc417eb52b64794e9849d1bd547eb917 (patch)
tree7e28119e5ed9cebf73984cf0b293923311a5e779
parentcb9d71d2b9275d9bdba42200e0f827a4962f29cf (diff)
Constified the string parameter to tp_contacts_mixin_set_contact_attribute()
Famous last words: This should not break API or ABI compatibility.
-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