summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-03 14:18:52 +0100
committerraveit65 <[email protected]>2021-02-25 08:10:37 +0100
commit8a8723273db890ca0676d20950f4e957d5d76c3c (patch)
treee5cc31bed01e9de4b24e14aa87de0b7ab1309401
parentb4e0b83ff552f79266ee970d2e5b9e48df271eed (diff)
downloadpluma-8a8723273db890ca0676d20950f4e957d5d76c3c.tar.bz2
pluma-8a8723273db890ca0676d20950f4e957d5d76c3c.tar.xz
Drop pluma_dirs_get_pluma_plugins_data_dir
-rw-r--r--pluma/pluma-dirs.c5
-rw-r--r--pluma/pluma-dirs.h2
-rw-r--r--pluma/pluma-plugins-engine.c2
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,