]> git.0d.be Git - empathy.git/commitdiff
Invert the presence order.
authorXavier Claessens <xclaesse@gmail.com>
Tue, 2 Jun 2009 17:32:10 +0000 (19:32 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Tue, 2 Jun 2009 17:32:10 +0000 (19:32 +0200)
libempathy-gtk/empathy-contact-list-store.c

index 8e3b7b34c966348b6e2af27c6d7ee93669205a8b..261b2cc602a5bbcb35ee64647c208d8c092a07ad 100644 (file)
@@ -1354,7 +1354,7 @@ contact_list_store_state_sort_func (GtkTreeModel *model,
        /* If we managed to get this far, we can start looking at
         * the presences.
         */
-       ret_val = tp_connection_presence_type_cmp_availability (
+       ret_val = -tp_connection_presence_type_cmp_availability (
                empathy_contact_get_presence (EMPATHY_CONTACT (contact_a)),
                empathy_contact_get_presence (EMPATHY_CONTACT (contact_b)));