Merge branch 'mjog/webkit_plugin_warning' into 'mainline'
Components.WebView: Fix CI failure building with WebKitGTK >= 2.31 See merge request GNOME/geary!624
This commit is contained in:
commit
17da8cea2d
2 changed files with 6 additions and 0 deletions
|
|
@ -325,7 +325,9 @@ public abstract class Components.WebView : WebKit.WebView, Geary.BaseInterface {
|
|||
setts.enable_media_stream = false;
|
||||
setts.enable_offline_web_application_cache = false;
|
||||
setts.enable_page_cache = false;
|
||||
#if WEBKIT_PLUGINS_SUPPORTED
|
||||
setts.enable_plugins = false;
|
||||
#endif
|
||||
setts.hardware_acceleration_policy =
|
||||
WebKit.HardwareAccelerationPolicy.NEVER;
|
||||
setts.javascript_can_access_clipboard = true;
|
||||
|
|
|
|||
|
|
@ -192,6 +192,10 @@ client_vala_args += [
|
|||
)
|
||||
]
|
||||
|
||||
if webkit2gtk.version().version_compare('<2.31')
|
||||
client_vala_args += [ '--define=WEBKIT_PLUGINS_SUPPORTED' ]
|
||||
endif
|
||||
|
||||
# Main client application library
|
||||
client_lib = shared_library(
|
||||
client_package,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue