aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2010-03-24 01:46:24 +0800
committerFridrich Strba <fridrich.strba@bluewin.ch>2010-03-24 01:46:24 +0800
commitea1837378a80c79891202f1500fb2124de9bdbd6 (patch)
tree16472fca781f3fbeb6654d96793993202186a1e2 /e-util/e-util.c
parent2e1c9b54391ad02a10443dd142f284e15c2ac538 (diff)
downloadgsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar.gz
gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.tar.zst
gsoc2013-evolution-ea1837378a80c79891202f1500fb2124de9bdbd6.zip
[win32] Don't bother with overriding .gnome2 directory
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r--e-util/e-util.c11
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;
}