aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.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-call-window.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-call-window.c')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 749b4c6f3..5a3b0d88a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -3037,7 +3037,7 @@ media_stream_error_to_txt (EmpathyCallWindow *self,
case TP_MEDIA_STREAM_ERROR_INVALID_CM_BEHAVIOR:
tp_connection_parse_object_path (
- tp_channel_borrow_connection (TP_CHANNEL (call)),
+ tp_channel_get_connection (TP_CHANNEL (call)),
NULL, &cm);
url = g_strdup_printf ("http://bugs.freedesktop.org/enter_bug.cgi?"
@@ -3124,7 +3124,7 @@ show_balance_error (EmpathyCallWindow *self)
"call-channel", &call,
NULL);
- conn = tp_channel_borrow_connection (call);
+ conn = tp_channel_get_connection (call);
g_object_unref (call);
uri = tp_connection_get_balance_uri (conn);