[farsight2/master] remove duplicate useless weak_ref

Youness Alaoui youness.alaoui at collabora.co.uk
Tue Jul 14 09:50:38 PDT 2009


---
 gst/fsmsnconference/fs-msn-conference.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/gst/fsmsnconference/fs-msn-conference.c b/gst/fsmsnconference/fs-msn-conference.c
index bb68b10..2a7d45d 100644
--- a/gst/fsmsnconference/fs-msn-conference.c
+++ b/gst/fsmsnconference/fs-msn-conference.c
@@ -311,9 +311,6 @@ fs_msn_conference_new_session (FsBaseConference *conf,
 
   new_session = fs_msn_session_new (media_type, self, 1, error);
 
-  if (new_session)
-    g_object_weak_ref (G_OBJECT (new_session), _remove_session, self);
-
   GST_OBJECT_LOCK (self);
   if (new_session)
   {
@@ -347,9 +344,6 @@ fs_msn_conference_new_participant (FsBaseConference *conf,
 
   new_participant = fs_msn_participant_new (cname);
 
-  if (new_participant)
-    g_object_weak_ref (G_OBJECT (new_participant), _remove_participant, self);
-
   GST_OBJECT_LOCK (self);
   if (new_participant)
   {
-- 
1.5.6.5




More information about the farsight-commits mailing list