empathy r754 - trunk/libempathy



Author: xclaesse
Date: Tue Mar 11 12:22:32 2008
New Revision: 754
URL: http://svn.gnome.org/viewvc/empathy?rev=754&view=rev

Log:
Simplify tp_group_get_contact.


Modified:
   trunk/libempathy/empathy-tp-group.c

Modified: trunk/libempathy/empathy-tp-group.c
==============================================================================
--- trunk/libempathy/empathy-tp-group.c	(original)
+++ trunk/libempathy/empathy-tp-group.c	Tue Mar 11 12:22:32 2008
@@ -82,7 +82,7 @@
 								   handle);
 	}
 
-	if (contact && empathy_contact_get_handle (contact) == priv->self_handle) {
+	if (contact && handle == priv->self_handle) {
 		empathy_contact_set_is_user (contact, TRUE);
 	}
 



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