]> git.0d.be Git - empathy.git/commitdiff
No need to borrow the connection, it gets passed to us
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Wed, 23 Feb 2011 16:50:20 +0000 (16:50 +0000)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 9 Jun 2011 09:20:06 +0000 (10:20 +0100)
src/empathy-event-manager.c

index 5ca2c4f1a5466a3deeb079d31561d1236328b0c5..c2c408dba6f9608ef581b021222c255d6a592c9d 100644 (file)
@@ -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));
     }