From a0545a9e59f982b381e2e2329756edd89ac04aed Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Thu, 26 Jan 2017 08:38:44 -0600 Subject: Revert "Implement search engine manager" This reverts commit 2829c4330285ddc50243aaabb3ab89971c540af9. Didn't mean to commit this, it's not quite ready yet. --- embed/ephy-embed-shell.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'embed/ephy-embed-shell.c') diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c index 4556ae9d8..101caf900 100644 --- a/embed/ephy-embed-shell.c +++ b/embed/ephy-embed-shell.c @@ -70,7 +70,6 @@ typedef struct { GList *web_extensions; EphyFiltersManager *filters_manager; GCancellable *cancellable; - EphySearchEngineManager *search_engine_manager; } EphyEmbedShellPrivate; enum { @@ -125,7 +124,6 @@ ephy_embed_shell_dispose (GObject *object) g_clear_object (&priv->web_context); g_clear_object (&priv->dbus_server); g_clear_object (&priv->filters_manager); - g_clear_object (&priv->search_engine_manager); G_OBJECT_CLASS (ephy_embed_shell_parent_class)->dispose (object); } @@ -957,8 +955,6 @@ ephy_embed_shell_startup (GApplication *application) ephy_embed_prefs_set_cookie_accept_policy (cookie_manager, cookie_policy); g_free (cookie_policy); - priv->search_engine_manager = ephy_search_engine_manager_new (); - #ifdef HAVE_LIBHTTPSEVERYWHERE /* We might want to be smarter about this in the future. For now, * trigger an update of the rulesets once each time Epiphany is started. @@ -1441,13 +1437,3 @@ ephy_embed_shell_get_hosts_manager (EphyEmbedShell *shell) priv->hosts_manager = ephy_hosts_manager_new (); return priv->hosts_manager; } - -EphySearchEngineManager * -ephy_embed_shell_get_search_engine_manager (EphyEmbedShell *shell) -{ - EphyEmbedShellPrivate *priv = ephy_embed_shell_get_instance_private (shell); - - if (!priv->search_engine_manager) - priv->search_engine_manager = ephy_search_engine_manager_new (); - return priv->search_engine_manager; -} -- cgit v1.2.1