[Telepathy-commits] [telepathy-salut/master] src/tube-stream.c: Add the transport in the hashtable when a local application connects

Alban Crequy alban.crequy at collabora.co.uk
Tue Nov 25 03:59:42 PST 2008


---
 src/tube-stream.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/tube-stream.c b/src/tube-stream.c
index 46426f2..f3db771 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -554,6 +554,9 @@ start_stream_direct (SalutTubeStream *self,
 
   g_assert (bytestream != NULL);
 
+  g_hash_table_insert (priv->bytestream_to_transport,
+      g_object_ref (bytestream), g_object_ref (transport));
+
   g_signal_connect (bytestream, "state-changed",
       G_CALLBACK (extra_bytestream_state_changed_cb), self);
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list