empathy r1578 - trunk/libempathy



Author: xclaesse
Date: Mon Oct 13 07:55:38 2008
New Revision: 1578
URL: http://svn.gnome.org/viewvc/empathy?rev=1578&view=rev

Log:
empathy_chatroom_equal: use tp_strdiff instead of g_str_equal

Modified:
   trunk/libempathy/empathy-chatroom.c

Modified: trunk/libempathy/empathy-chatroom.c
==============================================================================
--- trunk/libempathy/empathy-chatroom.c	(original)
+++ trunk/libempathy/empathy-chatroom.c	Mon Oct 13 07:55:38 2008
@@ -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 @@
 	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);
 }
-
-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]