summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-03 13:58:42 +0100
committerraveit65 <[email protected]>2021-02-25 08:10:37 +0100
commitb4e0b83ff552f79266ee970d2e5b9e48df271eed (patch)
treefd48d75cb098d341f7a92537d538d3bdb51b7274
parent367f8783da0f4fdd68e9dfd52a099cefb61d97b6 (diff)
downloadpluma-b4e0b83ff552f79266ee970d2e5b9e48df271eed.tar.bz2
pluma-b4e0b83ff552f79266ee970d2e5b9e48df271eed.tar.xz
Drop pluma_dirs_get_pluma_data_dir
-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);