[epiphany/pgriffis/web-extension/get-views: 1/3] WebExtensions: Remove unused code




commit 939fe192207e5fbdb25278d4380a2b75329b0dfa
Author: Patrick Griffis <pgriffis igalia com>
Date:   Mon May 30 11:28:57 2022 -0500

    WebExtensions: Remove unused code
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1123>

 src/webextension/ephy-web-extension-manager.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/webextension/ephy-web-extension-manager.c b/src/webextension/ephy-web-extension-manager.c
index 1dde9d88f..0dea1d86c 100644
--- a/src/webextension/ephy-web-extension-manager.c
+++ b/src/webextension/ephy-web-extension-manager.c
@@ -827,9 +827,7 @@ create_browser_popup (EphyWebExtension *web_extension)
 
   ephy_web_extension_manager_register_popup_view (manager, web_extension, web_view);
 
-  popup = ephy_web_extension_get_browser_popup (web_extension);
   base_uri = create_base_uri_for_resource_path (web_extension, popup);
-  data = ephy_web_extension_get_resource_as_string (web_extension, popup);
   webkit_web_view_load_html (WEBKIT_WEB_VIEW (web_view), (char *)data, base_uri);
   g_signal_connect (web_view, "load-changed", G_CALLBACK (on_popup_load_changed), NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]