[Telepathy-commits] [telepathy-glib/master] ExampleCallableMediaChannel: document parameters when changing members

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Mar 11 04:38:23 PDT 2009


---
 examples/cm/callable/media-channel.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/examples/cm/callable/media-channel.c b/examples/cm/callable/media-channel.c
index 327c401..b00dfe2 100644
--- a/examples/cm/callable/media-channel.c
+++ b/examples/cm/callable/media-channel.c
@@ -153,8 +153,12 @@ constructed (GObject *object)
       local_pending = tp_intset_new_containing (self->priv->conn->self_handle);
     }
 
-  tp_group_mixin_change_members (object, "", members, NULL, local_pending,
-      NULL, self->priv->initiator, 0);
+  tp_group_mixin_change_members (object, "",
+      members /* added */,
+      NULL /* nobody removed */,
+      local_pending, /* added to local-pending */
+      NULL /* nobody added to remote-pending */,
+      self->priv->initiator /* actor */, TP_CHANNEL_GROUP_CHANGE_REASON_NONE);
   tp_intset_destroy (members);
 
   if (local_pending != NULL)
-- 
1.5.6.5




More information about the telepathy-commits mailing list