aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-20 00:02:31 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-20 00:02:31 +0800
commitd5a96cec5e4cf549a86f5b331f77c9c09abe02a3 (patch)
treeb557397dc4c91d78d9dfedbda6b122f6adebeb8f /libempathy/empathy-tp-chat.c
parentc8166c52a0b133c3af082277270d3f911f634163 (diff)
downloadgsoc2013-empathy-d5a96cec5e4cf549a86f5b331f77c9c09abe02a3.tar
gsoc2013-empathy-d5a96cec5e4cf549a86f5b331f77c9c09abe02a3.tar.gz
gsoc2013-empathy-d5a96cec5e4cf549a86f5b331f77c9c09abe02a3.tar.bz2
gsoc2013-empathy-d5a96cec5e4cf549a86f5b331f77c9c09abe02a3.tar.lz
gsoc2013-empathy-d5a96cec5e4cf549a86f5b331f77c9c09abe02a3.tar.xz
gsoc2013-empathy-d5a96cec5e4cf549a86f5b331f77c9c09abe02a3.tar.zst
gsoc2013-empathy-d5a96cec5e4cf549a86f5b331f77c9c09abe02a3.zip
always use empathy_tp_chat_leave instead of _close
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 3c613245c..a7f23b2f5 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -1151,7 +1151,7 @@ tp_chat_got_remote_contact_cb (EmpathyTpContactFactory *factory,
if (error) {
DEBUG ("Error: %s", error->message);
- empathy_tp_chat_close (EMPATHY_TP_CHAT (chat));
+ empathy_tp_chat_leave (EMPATHY_TP_CHAT (chat));
return;
}
@@ -1172,7 +1172,7 @@ tp_chat_got_self_contact_cb (EmpathyTpContactFactory *factory,
if (error) {
DEBUG ("Error: %s", error->message);
- empathy_tp_chat_close (EMPATHY_TP_CHAT (chat));
+ empathy_tp_chat_leave (EMPATHY_TP_CHAT (chat));
return;
}
@@ -1505,7 +1505,7 @@ empathy_tp_chat_new (TpChannel *channel)
NULL);
}
-void
+static void
empathy_tp_chat_close (EmpathyTpChat *chat) {
EmpathyTpChatPriv *priv = GET_PRIV (chat);