This commit is contained in:
Perberos 2012-01-30 12:29:07 -03:00
parent ffdb44194e
commit 6f5d2fdf95
1 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,11 @@ gchar* pluma_dirs_get_user_config_dir(void)
} }
} }
#else #else
config_dir = g_build_filename(g_get_user_config_dir(), "pluma", NULL); #if GLIB_CHECK_VERSION(2, 6, 0)
config_dir = g_build_filename(g_get_user_config_dir(), "pluma", NULL);
#else // glib version < 2.6.0
config_dir = g_build_filename(g_get_home_dir(), ".config", "pluma", NULL);
#endif
#endif #endif
return config_dir; return config_dir;