diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-09-11 18:43:34 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-09-11 21:10:43 +0800 |
commit | 6b5d8ab2badd9aee642a45b1c49e9aad265d201f (patch) | |
tree | aede257d72b8feebb762935e2a1305c8b4fbaa73 /libempathy | |
parent | 5ff09cda5bad6b821509876c0fac51c667318602 (diff) | |
download | gsoc2013-empathy-6b5d8ab2badd9aee642a45b1c49e9aad265d201f.tar gsoc2013-empathy-6b5d8ab2badd9aee642a45b1c49e9aad265d201f.tar.gz gsoc2013-empathy-6b5d8ab2badd9aee642a45b1c49e9aad265d201f.tar.bz2 gsoc2013-empathy-6b5d8ab2badd9aee642a45b1c49e9aad265d201f.tar.lz gsoc2013-empathy-6b5d8ab2badd9aee642a45b1c49e9aad265d201f.tar.xz gsoc2013-empathy-6b5d8ab2badd9aee642a45b1c49e9aad265d201f.tar.zst gsoc2013-empathy-6b5d8ab2badd9aee642a45b1c49e9aad265d201f.zip |
use tp_channel_get_connection()
tp_channel_get_connection() has been deprecated.
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 9dfb95d2f..d6a0e13c9 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -1119,7 +1119,7 @@ empathy_tp_chat_get_account (EmpathyTpChat *self) g_return_val_if_fail (EMPATHY_IS_TP_CHAT (self), NULL); - connection = tp_channel_borrow_connection (TP_CHANNEL (self)); + connection = tp_channel_get_connection (TP_CHANNEL (self)); return tp_connection_get_account (connection); } @@ -1287,7 +1287,7 @@ tp_chat_prepare_ready_async (TpProxy *proxy, self->priv->ready_result = g_simple_async_result_new (G_OBJECT (self), callback, user_data, tp_chat_prepare_ready_async); - connection = tp_channel_borrow_connection (channel); + connection = tp_channel_get_connection (channel); if (tp_proxy_has_interface_by_id (self, TP_IFACE_QUARK_CHANNEL_INTERFACE_PASSWORD)) |