summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-17 09:35:20 +0100
committerStefano Karapetsas <[email protected]>2014-02-17 09:35:20 +0100
commit38f6f2b09c2a24d57badb82831e8d18e18648747 (patch)
tree90926123496e53fc0b233a3c0bc2fbf85ced5385
parent928082bef80543fd72f544c0f3c71f919468184f (diff)
downloadpluma-38f6f2b09c2a24d57badb82831e8d18e18648747.tar.bz2
pluma-38f6f2b09c2a24d57badb82831e8d18e18648747.tar.xz
Remove support for never existed env var
-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;
}