aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-invite-participant-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-11 18:43:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-11 21:10:43 +0800
commit6b5d8ab2badd9aee642a45b1c49e9aad265d201f (patch)
treeaede257d72b8feebb762935e2a1305c8b4fbaa73 /src/empathy-invite-participant-dialog.c
parent5ff09cda5bad6b821509876c0fac51c667318602 (diff)
downloadgsoc2013-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 'src/empathy-invite-participant-dialog.c')
-rw-r--r--src/empathy-invite-participant-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index ecbf00be9..8588b8484 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -114,7 +114,7 @@ get_tp_contact_for_chat (EmpathyInviteParticipantDialog *self,
{
TpConnection *chat_conn;
- chat_conn = tp_channel_borrow_connection (TP_CHANNEL (self->priv->tp_chat));
+ chat_conn = tp_channel_get_connection (TP_CHANNEL (self->priv->tp_chat));
if (chat_conn == NULL)
return NULL;
@@ -177,7 +177,7 @@ has_contact_list (EmpathyInviteParticipantDialog *self)
{
TpConnection *conn;
- conn = tp_channel_borrow_connection (TP_CHANNEL (self->priv->tp_chat));
+ conn = tp_channel_get_connection (TP_CHANNEL (self->priv->tp_chat));
return tp_proxy_has_interface_by_id (conn,
TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_LIST);