[Pkg-telepathy-commits] [libnice] 149/265: iostream: remove re-entrant call into NiceAgent

Simon McVittie smcv at debian.org
Wed May 14 12:05:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository libnice.

commit 0fc36cb22805d8a08e7b5b27fa6174ae694239e6
Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Mon Feb 24 17:25:50 2014 -0500

    iostream: remove re-entrant call into NiceAgent
---
 agent/iostream.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/agent/iostream.c b/agent/iostream.c
index f1b6e94..f3c5e61 100644
--- a/agent/iostream.c
+++ b/agent/iostream.c
@@ -279,15 +279,10 @@ nice_io_stream_set_property (GObject *object, guint prop_id,
 GIOStream *
 nice_io_stream_new (NiceAgent *agent, guint stream_id, guint component_id)
 {
-  gboolean reliable_agent;
-
   g_return_val_if_fail (NICE_IS_AGENT (agent), NULL);
   g_return_val_if_fail (stream_id > 0, NULL);
   g_return_val_if_fail (component_id > 0, NULL);
 
-  g_object_get (agent, "reliable", &reliable_agent, NULL);
-  g_return_val_if_fail (reliable_agent, NULL);
-
   return g_object_new (NICE_TYPE_IO_STREAM,
       "agent", agent,
       "stream-id", stream_id,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git



More information about the Pkg-telepathy-commits mailing list