remove inert function call
See: <https://webkitgtk.org/reference/webkit2gtk/stable/method.WebContext.set_process_model.html>
This commit is contained in:
parent
97032cd83c
commit
641b4055c2
3
rose.c
3
rose.c
|
@ -168,9 +168,6 @@ WebKitWebView* create_new_webview()
|
||||||
webkit_cookie_manager_set_accept_policy(cookiemanager,
|
webkit_cookie_manager_set_accept_policy(cookiemanager,
|
||||||
WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS);
|
WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS);
|
||||||
|
|
||||||
webkit_web_context_set_process_model(
|
|
||||||
web_context, WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);
|
|
||||||
|
|
||||||
if (g_file_get_contents("~/.config/rose/style.css", &style, NULL, NULL))
|
if (g_file_get_contents("~/.config/rose/style.css", &style, NULL, NULL))
|
||||||
webkit_user_content_manager_add_style_sheet(
|
webkit_user_content_manager_add_style_sheet(
|
||||||
contentmanager, webkit_user_style_sheet_new(style, WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES, WEBKIT_USER_STYLE_LEVEL_USER, NULL, NULL));
|
contentmanager, webkit_user_style_sheet_new(style, WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES, WEBKIT_USER_STYLE_LEVEL_USER, NULL, NULL));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user