[empathy: 47/99] No need to borrow the connection, it gets passed to us



commit 83cd1c694ff13c9a72a7b45ca5c6eb7e085de4f7
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 5ca2c4f..c2c408d 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -1099,7 +1099,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]