[telepathy-gabble/master] No need to get the GabbleConnection from the JingleContent anymore
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Tue Dec 29 05:35:22 PST 2009
---
src/call-stream.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/src/call-stream.c b/src/call-stream.c
index 5517306..03c62d7 100644
--- a/src/call-stream.c
+++ b/src/call-stream.c
@@ -336,21 +336,13 @@ gabble_call_stream_constructed (GObject *obj)
if (transport == JINGLE_TRANSPORT_GOOGLE_P2P)
{
- GabbleConnection *connection;
-
- g_object_get (priv->content,
- "connection", &connection,
- NULL);
-
DEBUG ("Attempting to create Google relay session");
/* See if our server is Google, and if it is, ask them for a relay.
* We ask for enough relays for 2 components (RTP and RTCP) since we
* don't yet know whether there will be RTCP. */
gabble_jingle_factory_create_google_relay_session (
- connection->jingle_factory, 2, google_relay_session_cb, obj);
-
- g_object_unref (connection);
+ priv->conn->jingle_factory, 2, google_relay_session_cb, obj);
}
else
{
--
1.5.6.5
More information about the telepathy-commits
mailing list