aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-12 13:55:44 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-12 13:55:44 -0300
commit641b4055c25c612ca843934583efdddedef5d90c (patch)
tree8f4331aa83bf73f4a91c4b8879d7f1176fca8654
parent97032cd83cd447cb63c1a498eeb9def9fa2010f4 (diff)
remove inert function call
See: <https://webkitgtk.org/reference/webkit2gtk/stable/method.WebContext.set_process_model.html>
-rw-r--r--rose.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rose.c b/rose.c
index cdffd5d..4433f26 100644
--- a/rose.c
+++ b/rose.c
@@ -168,9 +168,6 @@ WebKitWebView* create_new_webview()
webkit_cookie_manager_set_accept_policy(cookiemanager,
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))
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));