[gtk+/gtk-3-14] GtkRange: fix horizontal scrolling
- From: Lars Uebernickel <larsu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] GtkRange: fix horizontal scrolling
- Date: Fri, 17 Apr 2015 15:29:54 +0000 (UTC)
commit 872123366d59c39ea55193eb4361a3c9be3b8a5b
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 f52459f..d3e5a5d 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2842,7 +2842,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]