[empathy/gnome-2-34] No need to borrow the connection, it gets passed to us



commit b768818115dbc3a0b570500a74bc9c8ded62eea5
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Wed Feb 23 16:50:20 2011 +0000

    No need to borrow the connection, it gets passed to us

 src/empathy-event-manager.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index faf30b8..f5e69e3 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -1079,7 +1079,6 @@ approve_channels (TpSimpleApprover *approver,
 
       handle = tp_channel_get_handle (channel, NULL);
 
-      connection = tp_channel_borrow_connection (channel);
       empathy_tp_contact_factory_get_from_handle (connection, handle,
         event_manager_ft_got_contact_cb, approval, NULL, G_OBJECT (self));
     }



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