From b4b9349c72aecda03b19f20438a662e92e81e21b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 23 Sep 2013 16:14:49 +0200 Subject: [PATCH 03/15] use tp_channel_get_connection() tp_channel_borrow_connection has been deprecated. https://bugs.freedesktop.org/show_bug.cgi?id=69797 --- telepathy-logger/call-channel.c | 2 +- telepathy-logger/text-channel.c | 2 +- 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); -- 1.8.3.1