diff --git a/src/gtk/webview_webkit2_extension.cpp b/src/gtk/webview_webkit2_extension.cpp index e9d681ee30..b470b05f47 100644 --- a/src/gtk/webview_webkit2_extension.cpp +++ b/src/gtk/webview_webkit2_extension.cpp @@ -13,6 +13,12 @@ #include #include +// We can't easily avoid deprecation warnings about many WebKit functions, e.g. +// webkit_dom_document_get_default_view() and just about everything related to +// the selection, so for now just disable the warnings as we can't do anything +// about them anyhow. +wxGCC_WARNING_SUPPRESS(deprecated-declarations) + static const char introspection_xml[] = "" " "