aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-chatroom.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:55:38 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:55:38 +0800
commit4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d (patch)
tree02e7f5174896fdbfba5757afe1c95c294aa46046 /libempathy/empathy-chatroom.c
parent1a5e4d450a224977692a4be5e98e9bbcc90197e9 (diff)
downloadgsoc2013-empathy-4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d.tar
gsoc2013-empathy-4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d.tar.gz
gsoc2013-empathy-4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d.tar.bz2
gsoc2013-empathy-4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d.tar.lz
gsoc2013-empathy-4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d.tar.xz
gsoc2013-empathy-4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d.tar.zst
gsoc2013-empathy-4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d.zip
empathy_chatroom_equal: use tp_strdiff instead of g_str_equal
svn path=/trunk/; revision=1578
Diffstat (limited to 'libempathy/empathy-chatroom.c')
-rw-r--r--libempathy/empathy-chatroom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-chatroom.c b/libempathy/empathy-chatroom.c
index c7a4b635b..cb39455ed 100644
--- a/libempathy/empathy-chatroom.c
+++ b/libempathy/empathy-chatroom.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <glib.h>
+#include <telepathy-glib/util.h>
#include "empathy-chatroom.h"
#include "empathy-utils.h"
@@ -420,7 +421,6 @@ empathy_chatroom_equal (gconstpointer v1,
room_a = empathy_chatroom_get_room (EMPATHY_CHATROOM (v1));
room_b = empathy_chatroom_get_room (EMPATHY_CHATROOM (v2));
- return empathy_account_equal (account_a, account_b) && g_str_equal (room_a, room_b);
+ return empathy_account_equal (account_a, account_b) && !tp_strdiff (room_a,
+ room_b);
}
-
-