From f92b45d7df69c958bb4fc606831bc51ee2bcc914 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 8 Jul 2010 16:59:11 -0400 Subject: Fix places where "~/.evolution" is hard-coded. Also replace "$USER_DATA_DIR/cache" path constructions with e_get_user_cache_dir(). --- e-util/e-util.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'e-util/e-util.c') diff --git a/e-util/e-util.c b/e-util/e-util.c index 956f7d009f..4b73fd7865 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -58,26 +58,6 @@ #include "e-util.h" #include "e-util-private.h" -/** - * e_get_user_data_dir: - * - * Returns the base directory for Evolution-specific user data. - * The string is owned by Evolution and must not be modified or freed. - * - * Returns: base directory for user data - **/ -const gchar * -e_get_user_data_dir (void) -{ - static gchar *dirname = NULL; - - if (G_UNLIKELY (dirname == NULL)) - dirname = g_build_filename ( - g_get_home_dir (), ".evolution", NULL); - - return dirname; -} - /** * e_get_gnome2_user_dir: * -- cgit