diff options
Diffstat (limited to 'src/ephy-extensions-manager.c')
-rw-r--r-- | src/ephy-extensions-manager.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c index c048550cb..71a888fc5 100644 --- a/src/ephy-extensions-manager.c +++ b/src/ephy-extensions-manager.c @@ -38,10 +38,6 @@ #include <gmodule.h> #include <string.h> -#ifdef ENABLE_SEED -#include "ephy-seed-loader.h" -#endif - #define EE_GROUP "Epiphany Extension" #define DOT_INI ".ephy-extension" #define RELOAD_DELAY 333 /* ms */ @@ -447,25 +443,12 @@ get_loader_for_type (EphyExtensionsManager *manager, return g_object_ref (info->loader); } - if (strcmp (type, "python") == 0) + if (strcmp (type, "python") == 0 || + strcmp (type, "seed") == 0) { return NULL; } -#ifdef ENABLE_SEED - if (strcmp (type, "seed") == 0) - { - info = g_new (LoaderInfo, 1); - info->type = g_strdup (type); - info->loader = g_object_new (EPHY_TYPE_SEED_LOADER, NULL); - - manager->priv->factories = - g_list_append (manager->priv->factories, info); - - return g_object_ref (info->loader); - return NULL; - } -#endif shlib_loader = get_loader_for_type (manager, "shlib"); g_return_val_if_fail (shlib_loader != NULL, NULL); |