summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2015-04-15 15:27:04 +0200
committerMatthias Clasen <mclasen@redhat.com>2015-04-17 11:00:25 -0400
commit422d8728fa64bdd00aded0577855063a06961561 (patch)
treea7c439335eabae04a175cc93520ac588fb227d58 /gtk/gtkrange.c
parente2e649441e6ee54d9db9e18c0263986e572925f8 (diff)
downloadgtk+-422d8728fa64bdd00aded0577855063a06961561.tar.gz
GtkRange: fix horizontal scrolling
https://bugzilla.gnome.org/show_bug.cgi?id=737175
Diffstat (limited to 'gtk/gtkrange.c')
-rw-r--r--gtk/gtkrange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 3f0081896c..3ed84343c0 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2845,7 +2845,7 @@ _gtk_range_get_wheel_delta (GtkRange *range,
else if (gdk_event_get_scroll_direction ((GdkEvent *) event, &direction))
{
if (direction == GDK_SCROLL_UP ||
- direction == GDK_SCROLL_RIGHT)
+ direction == GDK_SCROLL_LEFT)
delta = - scroll_unit;
else
delta = scroll_unit;