diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-06-11 20:04:28 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-06-12 00:06:32 +0800 |
commit | 823b8bf90abf4230a63bb00fef7e9ffd7cd11156 (patch) | |
tree | 6ddbd0c46ecf14840809d142f3e45a76af84901a /libempathy-gtk/empathy-theme-adium.c | |
parent | 5d83372d392c074b13fb82eb934d6f795edc0d09 (diff) | |
download | gsoc2013-empathy-823b8bf90abf4230a63bb00fef7e9ffd7cd11156.tar gsoc2013-empathy-823b8bf90abf4230a63bb00fef7e9ffd7cd11156.tar.gz gsoc2013-empathy-823b8bf90abf4230a63bb00fef7e9ffd7cd11156.tar.bz2 gsoc2013-empathy-823b8bf90abf4230a63bb00fef7e9ffd7cd11156.tar.lz gsoc2013-empathy-823b8bf90abf4230a63bb00fef7e9ffd7cd11156.tar.xz gsoc2013-empathy-823b8bf90abf4230a63bb00fef7e9ffd7cd11156.tar.zst gsoc2013-empathy-823b8bf90abf4230a63bb00fef7e9ffd7cd11156.zip |
Do not use empathy_contact_equal(), we can now compare pointers directly.
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r-- | 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 4cd6877fe..6448b242b 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; |