diff options
author | Ted Gould <ted@gould.cx> | 2010-08-11 15:45:09 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-11 15:45:09 -0500 |
commit | f34b5e562004795cfb4e09a7daa1d3cbb21f89f0 (patch) | |
tree | 3173bcfa05c4d262da41b9f1702de59edfbea15b | |
parent | d678c3504b773d726573d50f2456ae83fc2b0bb0 (diff) | |
download | libayatana-appindicator-f34b5e562004795cfb4e09a7daa1d3cbb21f89f0.tar.gz libayatana-appindicator-f34b5e562004795cfb4e09a7daa1d3cbb21f89f0.tar.bz2 libayatana-appindicator-f34b5e562004795cfb4e09a7daa1d3cbb21f89f0.zip |
Fighting wrap around
-rw-r--r-- | src/application-service-appstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index f28c2af..d3dc4a9 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -554,7 +554,7 @@ app_sort_func (gconstpointer a, gconstpointer b, gpointer userdata) { Application * appa = (Application *)a; Application * appb = (Application *)b; - return appb->ordering_index - appa->ordering_index; + return (appb->ordering_index/2) - (appa->ordering_index/2); } /* Change the status of the application. If we're going passive |