summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-23 16:14:49 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-25 11:00:48 +0200
commitb4b9349c72aecda03b19f20438a662e92e81e21b (patch)
treebfd876b3689fab67d34ed06f2f28ed13555f92b6
parent4a9fdeb64bc87f09e44ecc0f9c6acaea8bf11f20 (diff)
downloadtelepathy-logger-b4b9349c72aecda03b19f20438a662e92e81e21b.tar.gz
use tp_channel_get_connection()
tp_channel_borrow_connection has been deprecated. https://bugs.freedesktop.org/show_bug.cgi?id=69797
-rw-r--r--telepathy-logger/call-channel.c2
-rw-r--r--telepathy-logger/text-channel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-logger/call-channel.c b/telepathy-logger/call-channel.c
index 0413b35..3a0e779 100644
--- a/telepathy-logger/call-channel.c
+++ b/telepathy-logger/call-channel.c
@@ -60,7 +60,7 @@ get_contacts (TplCallChannel *self,
{
TplCallChannelPriv *priv = self->priv;
TpChannel *chan = TP_CHANNEL (self);
- TpConnection *con = tp_channel_borrow_connection (chan);
+ TpConnection *con = tp_channel_get_connection (chan);
GHashTable *members;
GHashTableIter iter;
TpHandle handle;
diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c
index 546bce4..67c0671 100644
--- a/telepathy-logger/text-channel.c
+++ b/telepathy-logger/text-channel.c
@@ -53,7 +53,7 @@ static void
get_my_contact (TplTextChannel *self)
{
TpChannel *chan = TP_CHANNEL (self);
- TpConnection *tp_conn = tp_channel_borrow_connection (chan);
+ TpConnection *tp_conn = tp_channel_get_connection (chan);
TpContact *my_contact;
my_contact = tp_channel_group_get_self_contact (chan);