From 70bc5ad4a4296583313a461642b908a8b6490069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Sat, 29 Jan 2011 03:33:18 +0100 Subject: Use INDICATOR_OBJECT_SCROLL instead of GDK_SCROLL enum value --- src/application-service-appstore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/application-service-appstore.c') 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"; } -- cgit v1.2.3