diff options
-rw-r--r-- | pluma/pluma-dirs.c | 5 | ||||
-rw-r--r-- | pluma/pluma-dirs.h | 2 | ||||
-rw-r--r-- | pluma/pluma-plugins-engine.c | 2 |
3 files changed, 1 insertions, 8 deletions
diff --git a/pluma/pluma-dirs.c b/pluma/pluma-dirs.c index 408988b0..8ced9c33 100644 --- a/pluma/pluma-dirs.c +++ b/pluma/pluma-dirs.c @@ -89,8 +89,3 @@ gchar* pluma_dirs_get_pluma_plugins_dir(void) return plugin_dir; } - -gchar* pluma_dirs_get_pluma_plugins_data_dir(void) -{ - return g_build_filename (PLUMA_DATADIR, "plugins", NULL); -} diff --git a/pluma/pluma-dirs.h b/pluma/pluma-dirs.h index f9890fac..c375807d 100644 --- a/pluma/pluma-dirs.h +++ b/pluma/pluma-dirs.h @@ -42,8 +42,6 @@ gchar *pluma_dirs_get_pluma_lib_dir (void); gchar *pluma_dirs_get_pluma_plugins_dir (void); -gchar *pluma_dirs_get_pluma_plugins_data_dir (void); - G_END_DECLS #endif /* __PLUMA_DIRS_H__ */ diff --git a/pluma/pluma-plugins-engine.c b/pluma/pluma-plugins-engine.c index 741c77bf..57601539 100644 --- a/pluma/pluma-plugins-engine.c +++ b/pluma/pluma-plugins-engine.c @@ -98,7 +98,7 @@ pluma_plugins_engine_init (PlumaPluginsEngine *engine) peas_engine_add_search_path (PEAS_ENGINE (engine), pluma_dirs_get_pluma_plugins_dir (), - pluma_dirs_get_pluma_plugins_data_dir ()); + PLUMA_DATADIR "/plugins"); g_settings_bind (engine->priv->plugin_settings, PLUMA_SETTINGS_ACTIVE_PLUGINS, |