[Telepathy-commits] [telepathy-gabble/master] Revert "Don't let stream die before getting initial codecs and candidates"

Will Thompson will.thompson at collabora.co.uk
Wed Dec 17 10:38:03 PST 2008


This reverts commit 938112a82bd147210fd75cd64161f4ea5e013975; Senko has a
better fix.
---
 src/media-stream.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/media-stream.c b/src/media-stream.c
index aea4ce5..56e3609 100644
--- a/src/media-stream.c
+++ b/src/media-stream.c
@@ -186,8 +186,6 @@ _get_initial_codecs_and_candidates (gpointer user_data)
   new_remote_candidates_cb (priv->content,
       gabble_jingle_content_get_remote_candidates (priv->content), stream);
 
-  g_object_unref (stream);
-
   return FALSE;
 }
 
@@ -218,7 +216,7 @@ gabble_media_stream_constructor (GType type, guint n_props,
        * created, but we want to let it parse the initiation (if
        * initiated by remote end) before we pick up initial
        * codecs and candidates. */
-      g_idle_add (_get_initial_codecs_and_candidates, g_object_ref (stream));
+      g_idle_add (_get_initial_codecs_and_candidates, stream);
     }
 
   return obj;
-- 
1.5.6.5



More information about the Telepathy-commits mailing list