diff options
Merge branch 'develop'
1 files changed, 1 insertions, 22 deletions
| -rw-r--r-- | badwolf.c | 23 |
@@ -312,28 +312,7 @@ new_browser(struct Window *window, gchar *target_url, WebKitWebView *related_web webkit_web_context_set_process_model(web_context, WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES); - WebKitSettings *settings = - webkit_settings_new_with_settings("default-charset", - "utf-8", - "enable-caret-browsing", - TRUE, - "enable-developer-extras", - TRUE, - "enable-java", - FALSE, - "enable-javascript", - FALSE, - "enable-plugins", - FALSE, - "javascript-can-access-clipboard", - FALSE, - "javascript-can-open-windows-automatically", - FALSE, - "media-playback-requires-user-gesture", - TRUE, - "minimum-font-size", - 9, - NULL); + WebKitSettings *settings = webkit_settings_new_with_settings(BADWOLF_WEBKIT_SETTINGS); browser->webView = WEBKIT_WEB_VIEW(g_object_new(WEBKIT_TYPE_WEB_VIEW, "web-context", |