[gnome-bluetooth] Fix connecting to services after setup



commit f1f1fb0f906f5b2971ab4caa3b50b655f72db8f6
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 10 16:38:26 2009 +0100

    Fix connecting to services after setup
    
    We shouldn't unref the proxy on which the Connect call is being made,
    otherwise we're cancelling that call...
---
 lib/bluetooth-client.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index b94ead1..fdd1215 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1494,8 +1494,6 @@ gboolean bluetooth_client_connect_service(BluetoothClient *client,
 				connect_callback, conndata, g_free,
 				G_TYPE_INVALID);
 
-	g_object_unref (proxy);
-
 	return TRUE;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]