diff options
-rw-r--r-- | pluma/pluma-dirs.c | 18 | ||||
-rw-r--r-- | pluma/pluma-dirs.h | 4 | ||||
-rw-r--r-- | pluma/pluma-plugins-engine.c | 2 |
3 files changed, 1 insertions, 23 deletions
diff --git a/pluma/pluma-dirs.c b/pluma/pluma-dirs.c index 8ced9c33..161675a9 100644 --- a/pluma/pluma-dirs.c +++ b/pluma/pluma-dirs.c @@ -71,21 +71,3 @@ gchar* pluma_dirs_get_pluma_locale_dir(void) { return g_build_filename(DATADIR, "locale", NULL); } - -gchar* pluma_dirs_get_pluma_lib_dir(void) -{ - return g_build_filename(LIBDIR, "pluma", NULL); -} - -gchar* pluma_dirs_get_pluma_plugins_dir(void) -{ - gchar* lib_dir; - gchar* plugin_dir; - - lib_dir = pluma_dirs_get_pluma_lib_dir(); - - plugin_dir = g_build_filename(lib_dir, "plugins", NULL); - g_free(lib_dir); - - return plugin_dir; -} diff --git a/pluma/pluma-dirs.h b/pluma/pluma-dirs.h index c375807d..7d30b6c7 100644 --- a/pluma/pluma-dirs.h +++ b/pluma/pluma-dirs.h @@ -38,10 +38,6 @@ gchar *pluma_dirs_get_user_accels_file (void); gchar *pluma_dirs_get_pluma_locale_dir (void); -gchar *pluma_dirs_get_pluma_lib_dir (void); - -gchar *pluma_dirs_get_pluma_plugins_dir (void); - G_END_DECLS #endif /* __PLUMA_DIRS_H__ */ diff --git a/pluma/pluma-plugins-engine.c b/pluma/pluma-plugins-engine.c index 57601539..2c731514 100644 --- a/pluma/pluma-plugins-engine.c +++ b/pluma/pluma-plugins-engine.c @@ -97,7 +97,7 @@ pluma_plugins_engine_init (PlumaPluginsEngine *engine) pluma_dirs_get_user_plugins_dir ()); peas_engine_add_search_path (PEAS_ENGINE (engine), - pluma_dirs_get_pluma_plugins_dir (), + LIBDIR "/pluma/plugins", PLUMA_DATADIR "/plugins"); g_settings_bind (engine->priv->plugin_settings, |