aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-11 15:45:09 -0500
committerTed Gould <ted@gould.cx>2010-08-11 15:45:09 -0500
commitf34b5e562004795cfb4e09a7daa1d3cbb21f89f0 (patch)
tree3173bcfa05c4d262da41b9f1702de59edfbea15b /src
parentd678c3504b773d726573d50f2456ae83fc2b0bb0 (diff)
downloadayatana-indicator-application-f34b5e562004795cfb4e09a7daa1d3cbb21f89f0.tar.gz
ayatana-indicator-application-f34b5e562004795cfb4e09a7daa1d3cbb21f89f0.tar.bz2
ayatana-indicator-application-f34b5e562004795cfb4e09a7daa1d3cbb21f89f0.zip
Fighting wrap around
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c2
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