aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-01-29 03:33:18 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-01-29 03:33:18 +0100
commit70bc5ad4a4296583313a461642b908a8b6490069 (patch)
tree34496a3989d365e025150a95cd7d49e2563f42fb
parentdf3e14484ca574da270a2e7d38a82e25e6b86ca1 (diff)
downloadayatana-indicator-application-70bc5ad4a4296583313a461642b908a8b6490069.tar.gz
ayatana-indicator-application-70bc5ad4a4296583313a461642b908a8b6490069.tar.bz2
ayatana-indicator-application-70bc5ad4a4296583313a461642b908a8b6490069.zip
Use INDICATOR_OBJECT_SCROLL instead of GDK_SCROLL enum value
-rw-r--r--src/application-service-appstore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index e6169a0..7cadc13 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -283,15 +283,15 @@ bus_method_call (GDBusConnection * connection, const gchar * sender,
}
switch (direction) {
- case GDK_SCROLL_UP:
+ case INDICATOR_OBJECT_SCROLL_UP:
delta = -delta;
- case GDK_SCROLL_DOWN:
+ case INDICATOR_OBJECT_SCROLL_DOWN:
orientation = "vertical";
break;
- case GDK_SCROLL_LEFT:
+ case INDICATOR_OBJECT_SCROLL_LEFT:
delta = -delta;
- case GDK_SCROLL_RIGHT:
+ case INDICATOR_OBJECT_SCROLL_RIGHT:
orientation = "horizontal";
}