From dd5468856810324668718259674b5e78c97b19e7 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 2 Jun 2009 19:32:10 +0200 Subject: Invert the presence order. --- libempathy-gtk/empathy-contact-list-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy-gtk/empathy-contact-list-store.c') diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c index 8e3b7b34c..261b2cc60 100644 --- a/libempathy-gtk/empathy-contact-list-store.c +++ b/libempathy-gtk/empathy-contact-list-store.c @@ -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))); -- cgit v1.2.3