aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-06-03 01:32:10 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-03 01:32:10 +0800
commitdd5468856810324668718259674b5e78c97b19e7 (patch)
treee916a80ced491dc9c49f3d77581d7bc08163b3de /libempathy-gtk
parentfce49b89f9e5e0f864b7f2d7fbda69397a575ed4 (diff)
downloadgsoc2013-empathy-dd5468856810324668718259674b5e78c97b19e7.tar
gsoc2013-empathy-dd5468856810324668718259674b5e78c97b19e7.tar.gz
gsoc2013-empathy-dd5468856810324668718259674b5e78c97b19e7.tar.bz2
gsoc2013-empathy-dd5468856810324668718259674b5e78c97b19e7.tar.lz
gsoc2013-empathy-dd5468856810324668718259674b5e78c97b19e7.tar.xz
gsoc2013-empathy-dd5468856810324668718259674b5e78c97b19e7.tar.zst
gsoc2013-empathy-dd5468856810324668718259674b5e78c97b19e7.zip
Invert the presence order.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-store.c2
1 files changed, 1 insertions, 1 deletions
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)));