diff options
-rw-r--r-- | telepathy-logger/call-channel.c | 2 | ||||
-rw-r--r-- | 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); |