aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-01-20 08:03:02 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-01-20 08:03:02 +0100
commita7f869b707f48c1c56d528903996a4f97b3d151c (patch)
treebe4f2f41017d8cd533d3c2cf1db76e8b1df96d40
parentfb6f89fb5cd61060762ccb989f8dab5edaa19c2b (diff)
downloadlogdiag-a7f869b707f48c1c56d528903996a4f97b3d151c.tar.gz
logdiag-a7f869b707f48c1c56d528903996a4f97b3d151c.tar.xz
logdiag-a7f869b707f48c1c56d528903996a4f97b3d151c.zip
Fix zooming with mouse wheel
-rw-r--r--liblogdiag/ld-diagram-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblogdiag/ld-diagram-view.c b/liblogdiag/ld-diagram-view.c
index 704678d..76afac9 100644
--- a/liblogdiag/ld-diagram-view.c
+++ b/liblogdiag/ld-diagram-view.c
@@ -558,7 +558,7 @@ ld_diagram_view_init (LdDiagramView *self)
gtk_widget_add_events (GTK_WIDGET (self),
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- | GDK_LEAVE_NOTIFY_MASK);
+ | GDK_SCROLL_MASK | GDK_LEAVE_NOTIFY_MASK);
gtk_drag_dest_set (GTK_WIDGET (self), 0, &target, 1, GDK_ACTION_COPY);
}