aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-boxes.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-02-17 21:46:17 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:21:10 +0800
commit56337470e94a98a963e978d8b8f97f311cc817b7 (patch)
tree7264f759c12edb833d288a8b589cce0ab5d52649 /libempathy-gtk/empathy-theme-boxes.c
parentb9a3cabefb651110498d04fc85baf161a0c64d48 (diff)
downloadgsoc2013-empathy-56337470e94a98a963e978d8b8f97f311cc817b7.tar
gsoc2013-empathy-56337470e94a98a963e978d8b8f97f311cc817b7.tar.gz
gsoc2013-empathy-56337470e94a98a963e978d8b8f97f311cc817b7.tar.bz2
gsoc2013-empathy-56337470e94a98a963e978d8b8f97f311cc817b7.tar.lz
gsoc2013-empathy-56337470e94a98a963e978d8b8f97f311cc817b7.tar.xz
gsoc2013-empathy-56337470e94a98a963e978d8b8f97f311cc817b7.tar.zst
gsoc2013-empathy-56337470e94a98a963e978d8b8f97f311cc817b7.zip
Do not use empathy_contact_equal anymore, pointer comparaison is guaranteed to be enough.
Diffstat (limited to 'libempathy-gtk/empathy-theme-boxes.c')
-rw-r--r--libempathy-gtk/empathy-theme-boxes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-boxes.c b/libempathy-gtk/empathy-theme-boxes.c
index 0561ecac0..5b435f1d5 100644
--- a/libempathy-gtk/empathy-theme-boxes.c
+++ b/libempathy-gtk/empathy-theme-boxes.c
@@ -208,9 +208,9 @@ theme_boxes_maybe_append_header (EmpathyThemeBoxes *theme,
DEBUG ("Maybe add fancy header");
/* Only insert a header if the previously inserted block is not the same
- * as this one. This catches all the different cases:
+ * as this one.
*/
- if (last_contact && empathy_contact_equal (last_contact, contact)) {
+ if (last_contact == contact) {
return;
}