[Telepathy-commits] [telepathy-glib/master] TpChannel: stub handler for MembersChangedDetailed
Will Thompson
will.thompson at collabora.co.uk
Sun Jan 4 15:53:24 PST 2009
---
telepathy-glib/channel-group.c | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/channel-group.c b/telepathy-glib/channel-group.c
index 21e77fe..58873ed 100644
--- a/telepathy-glib/channel-group.c
+++ b/telepathy-glib/channel-group.c
@@ -884,6 +884,22 @@ tp_channel_group_members_changed_cb (TpChannel *self,
static void
+tp_channel_group_members_changed_detailed_cb (TpChannel *self,
+ const GArray *added,
+ const GArray *removed,
+ const GArray *local_pending,
+ const GArray *remote_pending,
+ GHashTable *details,
+ gpointer unused G_GNUC_UNUSED,
+ GObject *weak_obj G_GNUC_UNUSED)
+{
+ DEBUG ("%p MembersChangedDetailed: added %u, removed %u, "
+ "moved %u to LP and %u to RP",
+ self, added->len, removed->len, local_pending->len, remote_pending->len);
+}
+
+
+static void
tp_channel_handle_owners_changed_cb (TpChannel *self,
GHashTable *added,
const GArray *removed,
@@ -951,6 +967,9 @@ _tp_channel_get_group_properties (TpChannel *self)
tp_cli_channel_interface_group_connect_to_members_changed (self,
tp_channel_group_members_changed_cb, NULL, NULL, NULL, NULL);
+ tp_cli_channel_interface_group_connect_to_members_changed_detailed (self,
+ tp_channel_group_members_changed_detailed_cb, NULL, NULL, NULL, NULL);
+
tp_cli_channel_interface_group_connect_to_group_flags_changed (self,
tp_channel_group_flags_changed_cb, NULL, NULL, NULL, NULL);
--
1.5.6.5
More information about the Telepathy-commits
mailing list