[Telepathy-commits] [telepathy-gabble/master] Fix usage of gabble_tube_stream_close (see bug 16797)

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


---
 src/tube-stream.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tube-stream.c b/src/tube-stream.c
index 8731cb6..84230a3 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -2035,7 +2035,7 @@ gabble_tube_stream_offer_stream_tube (GabbleSvcChannelTypeStreamTube *iface,
       if (!gabble_tube_stream_offer (self, address_type,
           address, access_control, access_control_param, &error))
         {
-          gabble_tube_stream_close (GABBLE_TUBE_IFACE (self));
+          gabble_tube_stream_close (GABBLE_TUBE_IFACE (self), TRUE);
 
           dbus_g_method_return_error (context, error);
 
@@ -2148,7 +2148,7 @@ static void
 gabble_tube_stream_close_async (TpSvcChannel *iface,
                                   DBusGMethodInvocation *context)
 {
-  gabble_tube_stream_close (GABBLE_TUBE_IFACE (iface));
+  gabble_tube_stream_close (GABBLE_TUBE_IFACE (iface), FALSE);
   tp_svc_channel_return_from_close (context);
 }
 
-- 
1.5.6.5



More information about the Telepathy-commits mailing list