From 38f6f2b09c2a24d57badb82831e8d18e18648747 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Mon, 17 Feb 2014 09:35:20 +0100 Subject: [PATCH] Remove support for never existed env var --- pluma/pluma-dirs.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/pluma/pluma-dirs.c b/pluma/pluma-dirs.c index fdeaa62..c28fe9d 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; }