1 diff -Nru gkrellm-2.1.21.orig/src/mail.c gkrellm-2.1.21/src/mail.c
2 --- gkrellm-2.1.21.orig/src/mail.c 2003-10-13 06:12:17.000000000 +0200
3 +++ gkrellm-2.1.21/src/mail.c 2003-11-19 12:08:47.000000000 +0100
5 if (*(account->path) == '~')
7 account->homedir_path = account->path;
8 - account->path = g_strdup_printf("%s%s", gkrellm_homedir(),
9 + account->path = g_strdup_printf("%s%s", g_get_home_dir(),
10 account->homedir_path + 1);
12 if (g_file_test(account->path, G_FILE_TEST_IS_DIR))
14 if (*(account->path) == '~')
16 account->homedir_path = account->path;
17 - account->path = g_strdup_printf("%s%s", gkrellm_homedir(),
18 + account->path = g_strdup_printf("%s%s", g_get_home_dir(),
19 account->homedir_path + 1);
21 if (account->mboxtype == MBOX_MAILDIR)
22 diff -Nru gkrellm-2.1.21.orig/src/utils.c gkrellm-2.1.21/src/utils.c
23 --- gkrellm-2.1.21.orig/src/utils.c 2003-07-23 23:57:52.000000000 +0200
24 +++ gkrellm-2.1.21/src/utils.c 2003-11-19 12:06:56.000000000 +0100
30 + gchar *homedir = getenv("HOME_ETC");
32 - homedir = (gchar *) g_get_home_dir();
33 + if (!homedir) homedir = (gchar *) g_get_home_dir();