diff options
author | infirit <[email protected]> | 2014-12-18 22:02:14 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-18 22:02:14 +0100 |
commit | c133c2c81935f77ac35d341e2cb5378222b2ea55 (patch) | |
tree | 37b37bc6e250df281134b004fe6f309763e0548c /src/util.h | |
parent | 89a5256bf2b7292e0fcbd6c7fb0d5a3901271645 (diff) | |
download | mate-system-monitor-c133c2c81935f77ac35d341e2cb5378222b2ea55.tar.bz2 mate-system-monitor-c133c2c81935f77ac35d341e2cb5378222b2ea55.tar.xz |
Add custom sort method for numerical columns with descending sort first
Taken from GSM commit: b439f813ceaf6ce6e82cd490c734c67aeb1f2028
From: Robert Roth <[email protected]>
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=557122
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -104,6 +104,8 @@ namespace procman gpointer user_data); gint priority_compare_func(GtkTreeModel* model, GtkTreeIter* first, GtkTreeIter* second, gpointer user_data); + gint number_compare_func(GtkTreeModel* model, GtkTreeIter* first, + GtkTreeIter* second, gpointer user_data); template<typename T> |