From 324e5fc9a75d530ae9f2d7478e4eb5c61beed6c2 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 11 Aug 2000 21:14:33 +0000 Subject: use g_get_home_dir, since evolution_dir isn't available in the providers. 2000-08-11 Chris Toshok * providers/nntp/camel-nntp-store.c (camel_nntp_store_get_toplevel_dir): use g_get_home_dir, since evolution_dir isn't available in the providers. svn path=/trunk/; revision=4754 --- camel/providers/nntp/camel-nntp-store.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'camel/providers/nntp') diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c index 48537ed2b3..45b1fdee04 100644 --- a/camel/providers/nntp/camel-nntp-store.c +++ b/camel/providers/nntp/camel-nntp-store.c @@ -467,12 +467,11 @@ camel_nntp_store_get_toplevel_dir (CamelNNTPStore *store) { CamelURL *url = CAMEL_SERVICE (store)->url; char *top_dir; - extern char *evolution_dir; g_assert(url != NULL); - top_dir = g_strdup_printf( "%s/news/%s", - evolution_dir, + top_dir = g_strdup_printf( "%s/evolution/news/%s", + g_get_home_dir (), url->host ); return top_dir; -- cgit