diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/pglist.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/pglist.c b/src/plugins/pglist.c index dd4e127..e7ca037 100644 --- a/src/plugins/pglist.c +++ b/src/plugins/pglist.c @@ -32,7 +32,6 @@ #include <string.h> -#include <config.h> #include <i18n.h> @@ -75,22 +74,16 @@ static void on_plugin_ref_toggle(gpointer, GPluginModule *, gboolean); bool init_all_plugins(bool load) { -#ifdef DISCARD_LOCAL char *edir; /* Répertoire de base effectif */ -#endif char *env; /* Contenu environnemental */ char *saveptr; /* Sauvegarde pour parcours */ char *udir; /* Répertoire supplémentaire ? */ g_rw_lock_init(&_pg_lock); -#ifndef DISCARD_LOCAL - browse_directory_for_plugins(PACKAGE_SOURCE_DIR "/plugins"); -#else - edir = get_effective_directory(PLUGINS_LIB_DIR); + edir = get_effective_directory_new(TDT_PLUGINS_LIB); browse_directory_for_plugins(edir); free(edir); -#endif env = getenv("CHRYSALIDE_PLUGINS_PATH"); |