RESOLVED FIXED Bug 210160
[GTK4] Fix usage of GDK event functions in PlatformWheelEventGtk
https://bugs.webkit.org/show_bug.cgi?id=210160
Summary [GTK4] Fix usage of GDK event functions in PlatformWheelEventGtk
Adrian Perez
Reported 2020-04-07 15:14:17 PDT
WebCore/platform/gtk/PlatformWheelEventGtk.cpp uses deprecated GDK functions, we'll need alternative code paths for GTK4 in some cases.
Attachments
Patch (3.79 KB, patch)
2020-04-07 15:17 PDT, Adrian Perez
no flags
Adrian Perez
Comment 1 2020-04-07 15:17:15 PDT
Michael Catanzaro
Comment 2 2020-04-07 15:39:56 PDT
Comment on attachment 395747 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395747&action=review > Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp:50 > +#if USE(GTK4) Wait, are you sure this actually works? I see you set(GTK_4 TRUE) in FindGTK.cmake, but nothing sets USE_GTK_4. There's also no way to choose whether you build with GTK 4 or GTK 3 (but I guess that will come later).
Michael Catanzaro
Comment 3 2020-04-07 15:40:03 PDT Comment hidden (obsolete)
Adrian Perez
Comment 4 2020-04-07 17:00:20 PDT
(In reply to Michael Catanzaro from comment #2) > Comment on attachment 395747 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=395747&action=review > > > Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp:50 > > +#if USE(GTK4) > > Wait, are you sure this actually works? > > I see you set(GTK_4 TRUE) in FindGTK.cmake, but nothing sets USE_GTK_4. > > There's also no way to choose whether you build with GTK 4 or GTK 3 (but I > guess that will come later). That would be bug #210154, the patch there needs to be landed first (note that it a dependency for this bug :D)
EWS
Comment 5 2020-04-13 08:23:36 PDT
Committed r260008: <https://trac.webkit.org/changeset/260008> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395747 [details].
Note You need to log in before you can comment on or make changes to this bug.