aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-12 23:48:42 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-25 15:22:41 +0800
commit1a076de82797676d80ce3273dfe075d06111a446 (patch)
treeda64a1a19d9ae35462867f2954f42d6f5f2abe05 /src/empathy-chat-window.c
parent0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c (diff)
downloadgsoc2013-empathy-1a076de82797676d80ce3273dfe075d06111a446.tar
gsoc2013-empathy-1a076de82797676d80ce3273dfe075d06111a446.tar.gz
gsoc2013-empathy-1a076de82797676d80ce3273dfe075d06111a446.tar.bz2
gsoc2013-empathy-1a076de82797676d80ce3273dfe075d06111a446.tar.lz
gsoc2013-empathy-1a076de82797676d80ce3273dfe075d06111a446.tar.xz
gsoc2013-empathy-1a076de82797676d80ce3273dfe075d06111a446.tar.zst
gsoc2013-empathy-1a076de82797676d80ce3273dfe075d06111a446.zip
remove empathy_tp_chat_get_connection and priv->connection
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index c0d1b1502..01736d75b 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -403,7 +403,7 @@ chat_window_conversation_menu_update (EmpathyChatWindowPriv *priv,
tp_chat = empathy_chat_get_tp_chat (priv->current_chat);
if (tp_chat != NULL) {
- connection = empathy_tp_chat_get_connection (tp_chat);
+ connection = tp_channel_borrow_connection (TP_CHANNEL (tp_chat));
sensitive = empathy_tp_chat_can_add_contact (tp_chat) &&
(tp_connection_get_status (connection, NULL) ==