mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Version-check some webkit properties.
Avoids error messages about undefined properties in tracefile.
This commit is contained in:
parent
b8fc9df87b
commit
f80058bc27
@ -143,8 +143,12 @@ gnc_html_webkit_webview_new (void)
|
||||
webkit_settings = webkit_web_view_get_settings (WEBKIT_WEB_VIEW (view));
|
||||
g_object_set (G_OBJECT(webkit_settings),
|
||||
"default-charset", "utf-8",
|
||||
#if WEBKIT_MINOR_VERSION >= 10
|
||||
"allow-file-access-from-file-urls", TRUE,
|
||||
#endif
|
||||
#if WEBKIT_MINOR_VERSION >= 14
|
||||
"allow-universal-access-from-file-urls", TRUE,
|
||||
#endif
|
||||
"enable-java", FALSE,
|
||||
"enable-page-cache", FALSE,
|
||||
"enable-plugins", FALSE,
|
||||
|
Loading…
Reference in New Issue
Block a user