Accessing GdkEvent field events is deprecated in GTK3 and unsupported in GTK4. Let's not do that in “Source/WebCore/platform/gtk/GtkUtilities.h” :)
Created attachment 396067 [details] Patch
Comment on attachment 396067 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396067&action=review > Source/WebCore/platform/gtk/GtkUtilities.h:37 > + const auto eventTime = gdk_event_get_time(reinterpret_cast<GdkEvent*>(const_cast<GdkEventType*>(event))); FTR, the “const_cast” here is needed because the accessor does no longer have “const” as type qualifier in GTK4, even when its code does not modify the GdkEvent.
Committed r259854: <https://trac.webkit.org/changeset/259854> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396067 [details].