summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-dirs.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/pluma/pluma-dirs.c b/pluma/pluma-dirs.c
index fdeaa624..c28fe9d9 100644
--- a/pluma/pluma-dirs.c
+++ b/pluma/pluma-dirs.c
@@ -35,23 +35,7 @@ gchar* pluma_dirs_get_user_config_dir(void)
{
gchar* config_dir = NULL;
- #ifndef G_OS_WIN32
- const gchar* envvar;
-
- /* Support old libmate env var */
- envvar = g_getenv("MATE22_USER_DIR");
-
- if (envvar != NULL)
- {
- config_dir = g_build_filename(envvar, "pluma", NULL);
- }
- else
- {
- config_dir = g_build_filename(g_get_user_config_dir(), "pluma", NULL);
- }
- #else
- config_dir = g_build_filename(g_get_user_config_dir(), "pluma", NULL);
- #endif
+ config_dir = g_build_filename(g_get_user_config_dir(), "pluma", NULL);
return config_dir;
}