Multitaskingview: Adapt to changed Clutter.Event bindings

This commit is contained in:
felescoto95@hotmail.com 2016-04-25 07:41:53 -05:00
parent 15170d4bd8
commit 86b578c99a

View File

@ -168,8 +168,12 @@ namespace Gala
return false;
double dx, dy;
#if VALA_0_32
scroll_event.get_scroll_delta (out dx, out dy);
#else
var event = (Event*)(&scroll_event);
event->get_scroll_delta (out dx, out dy);
#endif
var direction = MotionDirection.LEFT;