aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-04-02 17:41:55 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-04-02 17:41:55 +0800
commit4215e2f6a4edebf83626a555f936c7121a635d29 (patch)
tree84ef17aa6aa58cc4bfd4729813dd115be80591ac /src
parent669fefd75dd2626ec1592997813edd5be302dbb2 (diff)
downloadgsoc2013-empathy-4215e2f6a4edebf83626a555f936c7121a635d29.tar
gsoc2013-empathy-4215e2f6a4edebf83626a555f936c7121a635d29.tar.gz
gsoc2013-empathy-4215e2f6a4edebf83626a555f936c7121a635d29.tar.bz2
gsoc2013-empathy-4215e2f6a4edebf83626a555f936c7121a635d29.tar.lz
gsoc2013-empathy-4215e2f6a4edebf83626a555f936c7121a635d29.tar.xz
gsoc2013-empathy-4215e2f6a4edebf83626a555f936c7121a635d29.tar.zst
gsoc2013-empathy-4215e2f6a4edebf83626a555f936c7121a635d29.zip
Adapt to new api
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@842 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'src')
-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);