[farsight2/master] use the right agent object

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:26:28 PST 2008


---
 transmitters/nice/fs-nice-stream-transmitter.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 88aa453..b973d2e 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -1005,13 +1005,13 @@ fs_nice_stream_transmitter_build (FsNiceStreamTransmitter *self,
     return FALSE;
   }
 
-  self->priv->state_changed_handler_id = g_signal_connect (agent,
+  self->priv->state_changed_handler_id = g_signal_connect (agent->agent,
       "component-state-changed", G_CALLBACK (agent_state_changed), self);
-  self->priv->gathering_done_handler_id = g_signal_connect (agent,
+  self->priv->gathering_done_handler_id = g_signal_connect (agent->agent,
       "candidate-gathering-done", G_CALLBACK (agent_gathering_done), self);
-  self->priv->new_selected_pair_handler_id = g_signal_connect (agent,
+  self->priv->new_selected_pair_handler_id = g_signal_connect (agent->agent,
       "new-selected-pair", G_CALLBACK (agent_new_selected_pair), self);
-  self->priv->new_candidate_handler_id = g_signal_connect (agent,
+  self->priv->new_candidate_handler_id = g_signal_connect (agent->agent,
       "new-candidate", G_CALLBACK (agent_new_candidate), self);
 
 
-- 
1.5.6.5




More information about the farsight-commits mailing list