aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-09 04:59:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-09 04:59:11 +0800
commitf92b45d7df69c958bb4fc606831bc51ee2bcc914 (patch)
tree704ffb1fe55bb37673436695c2d4e49efab8e7b4 /e-util/e-util.c
parentae4e6007efece29bf587f3193e7c57ad7f7d81dc (diff)
downloadgsoc2013-evolution-f92b45d7df69c958bb4fc606831bc51ee2bcc914.tar
gsoc2013-evolution-f92b45d7df69c958bb4fc606831bc51ee2bcc914.tar.gz
gsoc2013-evolution-f92b45d7df69c958bb4fc606831bc51ee2bcc914.tar.bz2
gsoc2013-evolution-f92b45d7df69c958bb4fc606831bc51ee2bcc914.tar.lz
gsoc2013-evolution-f92b45d7df69c958bb4fc606831bc51ee2bcc914.tar.xz
gsoc2013-evolution-f92b45d7df69c958bb4fc606831bc51ee2bcc914.tar.zst
gsoc2013-evolution-f92b45d7df69c958bb4fc606831bc51ee2bcc914.zip
Fix places where "~/.evolution" is hard-coded.
Also replace "$USER_DATA_DIR/cache" path constructions with e_get_user_cache_dir().
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r--e-util/e-util.c20
1 files changed, 0 insertions, 20 deletions
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
@@ -59,26 +59,6 @@
#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:
*
* Returns the base directory for user data, according to libgnome.