[Telepathy-commits] [telepathy-glib/master] ExampleCallableMediaChannel: update call progress when accepting incoming calls

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


---
 examples/cm/callable/media-channel.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/examples/cm/callable/media-channel.c b/examples/cm/callable/media-channel.c
index b8a261a..6162717 100644
--- a/examples/cm/callable/media-channel.c
+++ b/examples/cm/callable/media-channel.c
@@ -503,9 +503,13 @@ add_member (GObject *object,
       GHashTableIter iter;
       gpointer v;
 
+      g_assert (self->priv->progress == PROGRESS_CALLING);
+
       g_message ("SIGNALLING: send: Accepting incoming call from %s",
           tp_handle_inspect (contact_repo, self->priv->handle));
 
+      self->priv->progress = PROGRESS_ACTIVE;
+
       tp_group_mixin_change_members (object, "",
           set /* added */,
           NULL /* nobody removed */,
-- 
1.5.6.5




More information about the telepathy-commits mailing list