The GtkWidget.destroy vfunc is no more, and GObject.dispose should be used instead after the following merge request landed into GTK4: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1835 We only use .destroy in WebKitWebViewBase, and it looks like it should be possible to stop using .destroy for both GTK3 and GTK4 =)
Created attachment 398711 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Committed r261276: <https://trac.webkit.org/changeset/261276> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398711 [details].