diff options
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r-- | e-util/e-util.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 7c203ec7b3..427f479e01 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -59,32 +59,6 @@ #include "e-util-private.h" /** - * e_get_gnome2_user_dir: - * - * Returns the base directory for user data, according to libgnome. - * The directory can be overridden by setting the GNOME22_USER_DIR - * environment variable. The string is owned by Evolution and must - * not be modified or freed. - * - * Returns: base directory for GNOME user data - **/ -const gchar * -e_get_gnome2_user_dir (void) -{ - static gchar *dirname = NULL; - -#ifndef G_OS_WIN32 - if (G_UNLIKELY (dirname == NULL)) - dirname = g_strdup (g_getenv ("GNOME22_USER_DIR")); -#endif - if (dirname == NULL) - dirname = g_build_filename ( - g_get_home_dir (), ".gnome2", NULL); - - return dirname; -} - -/** * e_get_accels_filename: * * Returns the name of the user data file containing custom keyboard |