aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-02 17:41:55 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-02 17:41:55 +0800
commite1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf (patch)
tree84ef17aa6aa58cc4bfd4729813dd115be80591ac /src/empathy.c
parente33b58372cbe2a4bebefa317cfdba98b5452b734 (diff)
downloadgsoc2013-empathy-e1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf.tar
gsoc2013-empathy-e1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf.tar.gz
gsoc2013-empathy-e1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf.tar.bz2
gsoc2013-empathy-e1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf.tar.lz
gsoc2013-empathy-e1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf.tar.xz
gsoc2013-empathy-e1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf.tar.zst
gsoc2013-empathy-e1dd8a350e659ae7ab081ddb5ae4e4ea1c9312cf.zip
Adapt to new api
svn path=/trunk/; revision=842
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy.c b/src/empathy.c
index e5d0fc387..c33c69296 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -75,7 +75,7 @@ new_text_channel_cb (EmpathyChandler *chandler,
if (chat) {
/* The chat already exists */
- if (!empathy_chat_is_connected (chat)) {
+ if (!empathy_chat_get_tp_chat (chat)) {
/* The chat died, give him the new text channel */
tp_chat = empathy_tp_chat_new (account, tp_chan, TRUE);
empathy_chat_set_tp_chat (chat, tp_chat);