From ea1837378a80c79891202f1500fb2124de9bdbd6 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 23 Mar 2010 18:46:24 +0100 Subject: [win32] Don't bother with overriding .gnome2 directory --- e-util/e-util.c | 11 ++++++----- 1 file 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; } -- cgit v1.2.3