[epiphany/pgriffis/web-extension-beastify: 6/6] WebExtensions: Use plain WebKitWebView instead of EphyWebView
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/pgriffis/web-extension-beastify: 6/6] WebExtensions: Use plain WebKitWebView instead of EphyWebView
- Date: Sat, 21 May 2022 02:05:42 +0000 (UTC)
commit beef43fb27825b34ffa815c822312790a3e4c94b
Author: Patrick Griffis <pgriffis igalia com>
Date: Fri May 20 20:35:24 2022 -0500
WebExtensions: Use plain WebKitWebView instead of EphyWebView
EphyWebView makes a lot of internal assumptions.
For now at least its easier to be separate.
Closes: #1796
src/webextension/ephy-web-extension-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/webextension/ephy-web-extension-manager.c b/src/webextension/ephy-web-extension-manager.c
index 8df32ca73..80dc90a82 100644
--- a/src/webextension/ephy-web-extension-manager.c
+++ b/src/webextension/ephy-web-extension-manager.c
@@ -699,7 +699,7 @@ create_web_extensions_webview (EphyWebExtension *web_extension)
g_signal_connect_object (web_context, "initialize-web-extensions", G_CALLBACK (init_web_extension_api),
web_extension, 0);
- web_view = g_object_new (EPHY_TYPE_WEB_VIEW,
+ web_view = g_object_new (WEBKIT_TYPE_WEB_VIEW,
"web-context", web_context,
"user-content-manager", ucm,
"settings", ephy_embed_prefs_get_settings (),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]