[empathy] Do not use empathy_contact_equal(), we can now compare pointers directly.



commit 823b8bf90abf4230a63bb00fef7e9ffd7cd11156
Author: Xavier Claessens <xclaesse gmail com>
Date:   Thu Jun 11 14:04:28 2009 +0200

    Do not use empathy_contact_equal(), we can now compare pointers directly.

 libempathy-gtk/empathy-theme-adium.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 4cd6877..6448b24 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -495,8 +495,7 @@ theme_adium_append_message (EmpathyChatView *view,
 	}
 
 	/* Get the right html/func to add the message */
-	if (priv->last_contact &&
-	    empathy_contact_equal (priv->last_contact, sender)) {
+	if (priv->last_contact == sender) {
 		func = "appendNextMessage";
 		if (empathy_contact_is_user (sender)) {
 			html = priv->out_nextcontent_html;



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