summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-media-call-stream.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-03-13 18:33:37 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-03-14 18:08:51 -0400
commit9b39d51b1056de9923a7ddc16b7ac9defc69da3f (patch)
treef3eda35f6aa838aa73d90fbf5ab5695a1501b2b8 /telepathy-glib/base-media-call-stream.c
parent5d4cd5e236294458cbe9988aa19222652d5dfa4d (diff)
downloadtelepathy-glib-9b39d51b1056de9923a7ddc16b7ac9defc69da3f.tar.gz
BaseMediaCallStream: Update the sending and receiving states when a channel is set
Diffstat (limited to 'telepathy-glib/base-media-call-stream.c')
-rw-r--r--telepathy-glib/base-media-call-stream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/base-media-call-stream.c b/telepathy-glib/base-media-call-stream.c
index 0fdfa1567..fe1ffb716 100644
--- a/telepathy-glib/base-media-call-stream.c
+++ b/telepathy-glib/base-media-call-stream.c
@@ -242,6 +242,10 @@ tp_base_media_call_stream_init (TpBaseMediaCallStream *self)
g_signal_connect (self, "notify::remote-members",
G_CALLBACK (tp_base_media_call_stream_update_receiving_state), NULL);
+ g_signal_connect (self, "notify::channel",
+ G_CALLBACK (tp_base_media_call_stream_update_receiving_state), NULL);
+ g_signal_connect (self, "notify::channel",
+ G_CALLBACK (tp_base_media_call_stream_update_sending_state), NULL);
}
static void