lib/rabbit/renderer/display/scroll-handler.rb in rabbit-2.1.9 vs lib/rabbit/renderer/display/scroll-handler.rb in rabbit-2.2.0
- old
+ new
@@ -17,12 +17,12 @@
widget.signal_connect("scroll_event") do |widget, event|
handled = call_hook_procs(@scroll_hook_procs, event)
unless handled
handled = true
case event.direction
- when Gdk::EventScroll::Direction::UP
+ when Gdk::ScrollDirection::UP
@canvas.activate("PreviousSlide")
- when Gdk::EventScroll::Direction::DOWN
+ when Gdk::ScrollDirection::DOWN
@canvas.activate("NextSlide")
else
handled = false
end
end