diff options
author | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2010-02-24 17:31:05 +0200 |
---|---|---|
committer | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2010-02-24 17:31:05 +0200 |
commit | 64016db8dc417eb52b64794e9849d1bd547eb917 (patch) | |
tree | 7e28119e5ed9cebf73984cf0b293923311a5e779 | |
parent | cb9d71d2b9275d9bdba42200e0f827a4962f29cf (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.c | 2 | ||||
-rw-r--r-- | telepathy-glib/contacts-mixin.h | 2 |
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 |