]> git.0d.be Git - empathy.git/commitdiff
Do not use empathy_contact_equal anymore, pointer comparaison is guaranteed to be...
authorXavier Claessens <xclaesse@gmail.com>
Tue, 17 Feb 2009 13:46:17 +0000 (14:46 +0100)
committerXavier Claessens <xclaesse@gmail.com>
Wed, 22 Apr 2009 10:21:10 +0000 (12:21 +0200)
libempathy-gtk/empathy-theme-boxes.c
libempathy/empathy-contact.h

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;
        }
 
index 3c8a788414655480d736970c2cbc1b525edb27a1..8b89b39842299fcd3400dee0e61648d16e588932 100644 (file)
@@ -98,7 +98,6 @@ gboolean empathy_contact_is_online (EmpathyContact *contact);
 const gchar * empathy_contact_get_status (EmpathyContact *contact);
 gboolean empathy_contact_can_voip (EmpathyContact *contact);
 gboolean empathy_contact_can_send_files (EmpathyContact *contact);
-gboolean empathy_contact_equal (gconstpointer v1, gconstpointer v2);
 guint empathy_contact_hash (gconstpointer key);
 
 void empathy_contact_load_avatar_data (EmpathyContact *contact,