]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-theme-boxes.c
Do not use empathy_contact_equal anymore, pointer comparaison is guaranteed to be...
[empathy.git] / libempathy-gtk / empathy-theme-boxes.c
index 0561ecac050e7f192cfcede7c4ec485b0ed02df9..5b435f1d5d9cd9aff3ee05b80ebec9f0c2ad1f07 100644 (file)
@@ -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;
        }