[epiphany/pgriffis/web-extension-beastify: 8/8] 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: 8/8] WebExtensions: Use plain WebKitWebView instead of EphyWebView
- Date: Sat, 21 May 2022 16:32:45 +0000 (UTC)
commit 03fd9e77711e77b5f81b49cbb48b8d05e1b51a54
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 5c5c257c1..e340adede 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]