[gtk+/gtk-3-16] GtkRange: fix horizontal scrolling



commit 456b5e50b5e1cc6c0bec87019f6f4257a22a6f5a
Author: Lars Uebernickel <lars uebernickel canonical com>
Date:   Wed Apr 15 15:27:04 2015 +0200

    GtkRange: fix horizontal scrolling
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737175

 gtk/gtkrange.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 3f00818..3ed8434 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]