diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-24 01:46:24 +0800 |
---|---|---|
committer | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-24 01:46:24 +0800 |
commit | ea1837378a80c79891202f1500fb2124de9bdbd6 (patch) | |
tree | 16472fca781f3fbeb6654d96793993202186a1e2 /e-util | |
parent | 2e1c9b54391ad02a10443dd142f284e15c2ac538 (diff) | |
download | gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar.gz gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar.bz2 gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar.lz gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar.xz gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar.zst gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.zip |
[win32] Don't bother with overriding .gnome2 directory
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 48f268994b..61117d7bbf 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -94,12 +94,13 @@ e_get_gnome2_user_dir (void) { static gchar *dirname = NULL; - if (G_UNLIKELY (dirname == NULL)) { +#ifndef G_OS_WIN32 + if (G_UNLIKELY (dirname == NULL)) dirname = g_strdup (g_getenv ("GNOME22_USER_DIR")); - if (dirname == NULL) - dirname = g_build_filename ( - g_get_home_dir (), ".gnome2", NULL); - } +#endif + if (dirname == NULL) + dirname = g_build_filename ( + g_get_home_dir (), ".gnome2", NULL); return dirname; } |