[Webkit-unassigned] [Bug 198829] [GTK] Stop accessing GdkEvent fields when possible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 13 07:37:51 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198829

--- Comment #3 from Michael Catanzaro <mcatanzaro at igalia.com> ---
/home/ews/gtk-wk2-ews/WebKit/Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp: In constructor ‘WebCore::PlatformWheelEvent::PlatformWheelEvent(GdkEventScroll*)’:
/home/ews/gtk-wk2-ews/WebKit/Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp:65:5: error: ‘gdk_event_get_scroll_direction’ was not declared in this scope
     gdk_event_get_scroll_direction(reinterpret_cast<GdkEvent*>(event), &direction);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ews/gtk-wk2-ews/WebKit/Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp:65:5: note: suggested alternative: ‘gdk_event_get_screen’
     gdk_event_get_scroll_direction(reinterpret_cast<GdkEvent*>(event), &direction);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     gdk_event_get_screen
ninja: build stopped: subcommand failed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190613/01feed82/attachment.html>


More information about the webkit-unassigned mailing list