aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-10-13 15:55:38 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-10-13 15:55:38 +0800
commit93b40e139c8b53992f27350f3e9afd92f9732984 (patch)
tree02e7f5174896fdbfba5757afe1c95c294aa46046
parent6437307ff240f833a1151a242244e42df30d547f (diff)
downloadgsoc2013-empathy-93b40e139c8b53992f27350f3e9afd92f9732984.tar
gsoc2013-empathy-93b40e139c8b53992f27350f3e9afd92f9732984.tar.gz
gsoc2013-empathy-93b40e139c8b53992f27350f3e9afd92f9732984.tar.bz2
gsoc2013-empathy-93b40e139c8b53992f27350f3e9afd92f9732984.tar.lz
gsoc2013-empathy-93b40e139c8b53992f27350f3e9afd92f9732984.tar.xz
gsoc2013-empathy-93b40e139c8b53992f27350f3e9afd92f9732984.tar.zst
gsoc2013-empathy-93b40e139c8b53992f27350f3e9afd92f9732984.zip
empathy_chatroom_equal: use tp_strdiff instead of g_str_equal
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1578 4ee84921-47dd-4033-b63a-18d7a039a3e4
-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);
}
-
-