[Telepathy-commits] [telepathy-gabble/master] Implements D-Bus method GetStreamTubeSocketAddress on org.freedesktop.Telepathy.Channel.Type.StreamTube

Alban Crequy alban.crequy at collabora.co.uk
Mon Nov 3 11:20:28 PST 2008


20080814145344-a41c0-295ef250face270db66aaa79b940d3bf3307611a.gz
---
 src/tube-stream.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/tube-stream.c b/src/tube-stream.c
index 9c5c740..c4cbf66 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -1819,7 +1819,11 @@ gabble_tube_stream_get_stream_tube_socket_address (
     GabbleSvcChannelTypeStreamTube *iface,
     DBusGMethodInvocation *context)
 {
-  tp_dbus_g_method_return_not_implemented (context);
+  GabbleTubeStream *self = GABBLE_TUBE_STREAM (iface);
+  GabbleTubeStreamPrivate *priv = GABBLE_TUBE_STREAM_GET_PRIVATE (self);
+
+  tp_svc_channel_type_tubes_return_from_get_stream_tube_socket_address (
+      context, priv->address_type, priv->address);
 }
 
 /**
-- 
1.5.6.5




More information about the Telepathy-commits mailing list