[evolution] [win32] Don't bother with overriding .gnome2 directory
- From: Fridrich Strba <strba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] [win32] Don't bother with overriding .gnome2 directory
- Date: Tue, 23 Mar 2010 17:59:49 +0000 (UTC)
commit ea1837378a80c79891202f1500fb2124de9bdbd6
Author: Fridrich Strba <fridrich strba bluewin ch>
Date: Tue Mar 23 18:46:24 2010 +0100
[win32] Don't bother with overriding .gnome2 directory
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 48f2689..61117d7 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]