summaryrefslogtreecommitdiff
path: root/examples/client
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-04 14:44:08 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-04 15:10:47 +0200
commit9db75a4460d25ef41e97e42c971a5a198b7c360f (patch)
tree72a6df14012ce4b4b1805e9192e81250e16a27f9 /examples/client
parent4190cf0e141f6567e9d679d173c6e759fed93db5 (diff)
tp-stream-tube: rename "connection" to "socket connection"
Avoid confusion with TpConnection.
Diffstat (limited to 'examples/client')
-rw-r--r--examples/client/stream-tubes/accepter.c2
-rw-r--r--examples/client/stream-tubes/offerer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/client/stream-tubes/accepter.c b/examples/client/stream-tubes/accepter.c
index 61cadf27b..fa2f67832 100644
--- a/examples/client/stream-tubes/accepter.c
+++ b/examples/client/stream-tubes/accepter.c
@@ -32,7 +32,7 @@ _tube_accepted (GObject *tube,
g_debug ("Tube open, have IOStream");
- conn = tp_stream_tube_connection_get_connection (tube_conn);
+ conn = tp_stream_tube_connection_get_socket_connection (tube_conn);
in = g_io_stream_get_input_stream (G_IO_STREAM (conn));
out = g_io_stream_get_output_stream (G_IO_STREAM (conn));
diff --git a/examples/client/stream-tubes/offerer.c b/examples/client/stream-tubes/offerer.c
index 588dcf81d..d460e3aff 100644
--- a/examples/client/stream-tubes/offerer.c
+++ b/examples/client/stream-tubes/offerer.c
@@ -20,7 +20,7 @@ _incoming_iostream (TpStreamTubeChannel *tube,
g_debug ("Got IOStream from %s",
tp_contact_get_identifier (contact));
- conn = tp_stream_tube_connection_get_connection (tube_conn);
+ conn = tp_stream_tube_connection_get_socket_connection (tube_conn);
in = g_io_stream_get_input_stream (G_IO_STREAM (conn));
out = g_io_stream_get_output_stream (G_IO_STREAM (conn));