From 4ed2c2b212ed2298c6dc3c3ed4d1ea7565d48b0d Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 13 Oct 2008 07:55:38 +0000 Subject: empathy_chatroom_equal: use tp_strdiff instead of g_str_equal svn path=/trunk/; revision=1578 --- libempathy/empathy-chatroom.c | 6 +++--- 1 file 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 #include +#include #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); } - - -- cgit v1.2.3