[epiphany/peas: 6/7] src/ephy-shell: update for new extensions manager



commit 0dd72dd191890b8fffa5139a093bdd8146ebd9f0
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Sat Apr 2 12:56:39 2011 -0500

    src/ephy-shell: update for new extensions manager

 src/ephy-shell.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 4759d32..8446134 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -524,14 +524,7 @@ ephy_shell_get_session (EphyShell *shell)
 
 	if (shell->priv->session == NULL)
 	{
-		EphyExtensionsManager *manager;
-
 		shell->priv->session = g_object_new (EPHY_TYPE_SESSION, NULL);
-
-		manager = EPHY_EXTENSIONS_MANAGER
-			(ephy_shell_get_extensions_manager (shell));
-		ephy_extensions_manager_register (manager,
-						  G_OBJECT (shell->priv->session));
 	}
 
 	return G_OBJECT (shell->priv->session);
@@ -552,14 +545,7 @@ ephy_shell_get_lockdown (EphyShell *shell)
 
 	if (shell->priv->lockdown == NULL)
 	{
-		EphyExtensionsManager *manager;
-
 		shell->priv->lockdown = g_object_new (EPHY_TYPE_LOCKDOWN, NULL);
-
-		manager = EPHY_EXTENSIONS_MANAGER
-			(ephy_shell_get_extensions_manager (shell));
-		ephy_extensions_manager_register (manager,
-						  G_OBJECT (shell->priv->lockdown));
 	}
 
 	return G_OBJECT (shell->priv->session);
@@ -648,10 +634,7 @@ ephy_shell_get_extensions_manager (EphyShell *es)
 		es->priv->extensions_manager =
 			g_object_new (EPHY_TYPE_EXTENSIONS_MANAGER, NULL);
 
-		ephy_extensions_manager_startup (es->priv->extensions_manager);
-
 		/* FIXME */
-		ephy_shell_get_lockdown (es);
 		ephy_embed_shell_get_adblock_manager (embed_shell);
 	}
 



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