mirror of
https://github.com/elementary/gala.git
synced 2024-11-27 15:45:31 +03:00
Multitaskingview: Adapt to changed Clutter.Event bindings
This commit is contained in:
parent
15170d4bd8
commit
86b578c99a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user