rosenrot-browser

A hackable browser based on Webkitgtk
Log | Files | Refs | README

commit 641b4055c25c612ca843934583efdddedef5d90c
parent 97032cd83cd447cb63c1a498eeb9def9fa2010f4
Author: NunoSempere <nuno.semperelh@protonmail.com>
Date:   Tue, 12 Mar 2024 13:55:44 -0300

remove inert function call

See:
<https://webkitgtk.org/reference/webkit2gtk/stable/method.WebContext.set_process_model.html>

Diffstat:
Mrose.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git 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));