[next] telepathy-glib: rename @normalized_group arg to @group

Simon McVittie smcv at kemper.freedesktop.org
Wed Sep 17 05:22:52 PDT 2014


Module: telepathy-glib
Branch: next
Commit: 6c4c9df83d308105b0859adfd3515ecb60050e82
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=6c4c9df83d308105b0859adfd3515ecb60050e82

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue May 27 16:19:03 2014 +0200

rename @normalized_group arg to @group

For some reason the gir scanner doesn't seem to like this name?!

---

 telepathy-glib/base-contact-list.c |   10 +++++-----
 telepathy-glib/base-contact-list.h |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c
index b8c4d6f..e843f8a 100644
--- a/telepathy-glib/base-contact-list.c
+++ b/telepathy-glib/base-contact-list.c
@@ -4121,15 +4121,15 @@ tp_mutable_contact_group_list_set_contact_groups_finish (TpMutableContactGroupLi
 /**
  * tp_mutable_contact_group_list_set_group_members_async:
  * @self: a contact list manager
- * @normalized_group: the normalized name of a group
+ * @group: the normalized name of a group
  * @contacts: the contacts who should be in the group
  * @callback: a callback to call on success, failure or disconnection
  * @user_data: user data for the callback
  *
- * Set the members of @normalized_group to be exactly @contacts (i.e.
+ * Set the members of @group to be exactly @contacts (i.e.
  * add @contacts, and simultaneously remove all members not in @contacts).
  *
- * If @normalized_group does not exist, the implementation should create it,
+ * If @group does not exist, the implementation should create it,
  * even if @contacts is empty.
  *
  * If the #TpBaseContactList subclass does not implement
@@ -4145,7 +4145,7 @@ tp_mutable_contact_group_list_set_contact_groups_finish (TpMutableContactGroupLi
  */
 void
 tp_mutable_contact_group_list_set_group_members_async (TpMutableContactGroupList *self,
-    const gchar *normalized_group,
+    const gchar *group,
     TpHandleSet *contacts,
     GAsyncReadyCallback callback,
     gpointer user_data)
@@ -4156,7 +4156,7 @@ tp_mutable_contact_group_list_set_group_members_async (TpMutableContactGroupList
   g_return_if_fail (mutable_groups_iface != NULL);
   g_return_if_fail (mutable_groups_iface->set_group_members_async != NULL);
 
-  mutable_groups_iface->set_group_members_async (self, normalized_group,
+  mutable_groups_iface->set_group_members_async (self, group,
       contacts, callback, user_data);
 }
 
diff --git a/telepathy-glib/base-contact-list.h b/telepathy-glib/base-contact-list.h
index 3867197..5621682 100644
--- a/telepathy-glib/base-contact-list.h
+++ b/telepathy-glib/base-contact-list.h
@@ -578,7 +578,7 @@ gboolean tp_mutable_contact_group_list_remove_from_group_finish (
 
 void tp_mutable_contact_group_list_set_group_members_async (
     TpMutableContactGroupList *self,
-    const gchar *normalized_group,
+    const gchar *group,
     TpHandleSet *contacts,
     GAsyncReadyCallback callback,
     gpointer user_data);



More information about the telepathy-commits mailing list