summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-dirs.c15
-rw-r--r--pluma/pluma-dirs.h2
2 files changed, 1 insertions, 16 deletions
diff --git a/pluma/pluma-dirs.c b/pluma/pluma-dirs.c
index c800f692..408988b0 100644
--- a/pluma/pluma-dirs.c
+++ b/pluma/pluma-dirs.c
@@ -67,11 +67,6 @@ gchar* pluma_dirs_get_user_accels_file(void)
return accels;
}
-gchar* pluma_dirs_get_pluma_data_dir(void)
-{
- return g_build_filename(PLUMA_DATADIR, NULL);
-}
-
gchar* pluma_dirs_get_pluma_locale_dir(void)
{
return g_build_filename(DATADIR, "locale", NULL);
@@ -97,13 +92,5 @@ gchar* pluma_dirs_get_pluma_plugins_dir(void)
gchar* pluma_dirs_get_pluma_plugins_data_dir(void)
{
- gchar* data_dir;
- gchar* plugin_data_dir;
-
- data_dir = pluma_dirs_get_pluma_data_dir();
-
- plugin_data_dir = g_build_filename(data_dir, "plugins", NULL);
- g_free(data_dir);
-
- return plugin_data_dir;
+ return g_build_filename (PLUMA_DATADIR, "plugins", NULL);
}
diff --git a/pluma/pluma-dirs.h b/pluma/pluma-dirs.h
index 4d1708e5..f9890fac 100644
--- a/pluma/pluma-dirs.h
+++ b/pluma/pluma-dirs.h
@@ -36,8 +36,6 @@ gchar *pluma_dirs_get_user_plugins_dir (void);
gchar *pluma_dirs_get_user_accels_file (void);
-gchar *pluma_dirs_get_pluma_data_dir (void);
-
gchar *pluma_dirs_get_pluma_locale_dir (void);
gchar *pluma_dirs_get_pluma_lib_dir (void);