From 823b8bf90abf4230a63bb00fef7e9ffd7cd11156 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 11 Jun 2009 14:04:28 +0200 Subject: [PATCH] Do not use empathy_contact_equal(), we can now compare pointers directly. --- libempathy-gtk/empathy-theme-adium.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 4cd6877f..6448b242 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; -- 2.39.2