diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2017-01-26 08:38:44 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2017-01-26 08:38:44 -0600 |
commit | a0545a9e59f982b381e2e2329756edd89ac04aed (patch) | |
tree | 0c223556520065d6c5f1de4335ba49a8128f65eb /embed/ephy-embed-shell.c | |
parent | 860573d9b1f655c1e0915863fbd5fa256b0b0412 (diff) | |
download | epiphany-a0545a9e59f982b381e2e2329756edd89ac04aed.tar.gz |
Revert "Implement search engine manager"
This reverts commit 2829c4330285ddc50243aaabb3ab89971c540af9.
Didn't mean to commit this, it's not quite ready yet.
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r-- | embed/ephy-embed-shell.c | 14 |
1 files changed, 0 insertions, 14 deletions
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; -} |