From 29381411f305c8ddc80cea606f35a225cfdbf990 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 1 Feb 2004 22:52:10 +0000 Subject: Decouple extensions manager initialisation and extensions loading. Fixes a 2004-02-01 Christian Persch * src/ephy-extensions-manager.c: (ephy_extensions_manager_init): * src/ephy-extensions-manager.h: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Decouple extensions manager initialisation and extensions loading. Fixes a crash when an extensions tried to get the session, causing us to load extensions more than once. --- src/ephy-extensions-manager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ephy-extensions-manager.c') diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c index d7d44d521..9dc4d6842 100644 --- a/src/ephy-extensions-manager.c +++ b/src/ephy-extensions-manager.c @@ -130,7 +130,7 @@ ephy_extensions_manager_load (EphyExtensionsManager *manager, return extension; } -static void +void ephy_extensions_manager_load_dir (EphyExtensionsManager *manager, const char *path) { @@ -187,8 +187,6 @@ ephy_extensions_manager_init (EphyExtensionsManager *manager) manager->priv->loaders = NULL; manager->priv->extensions = NULL; - - ephy_extensions_manager_load_dir (manager, EXTENSIONS_DIR); } static void -- cgit v1.2.3