aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-16 22:03:20 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-16 22:18:12 +0800
commit0987f756cd0ef59bb4a301197b58340a91469151 (patch)
tree4303ef85b07780f0e07cb44d2b1e3e4a1fc8eaac /e-util
parent8e15abac92213f2c8a37fc985a6625bfc1a70e54 (diff)
downloadgsoc2013-evolution-0987f756cd0ef59bb4a301197b58340a91469151.tar
gsoc2013-evolution-0987f756cd0ef59bb4a301197b58340a91469151.tar.gz
gsoc2013-evolution-0987f756cd0ef59bb4a301197b58340a91469151.tar.bz2
gsoc2013-evolution-0987f756cd0ef59bb4a301197b58340a91469151.tar.lz
gsoc2013-evolution-0987f756cd0ef59bb4a301197b58340a91469151.tar.xz
gsoc2013-evolution-0987f756cd0ef59bb4a301197b58340a91469151.tar.zst
gsoc2013-evolution-0987f756cd0ef59bb4a301197b58340a91469151.zip
Remove unused e_get_gnome2_user_dir().
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-util.c26
-rw-r--r--e-util/e-util.h1
2 files changed, 0 insertions, 27 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
diff --git a/e-util/e-util.h b/e-util/e-util.h
index 554c9300b1..e1f6c792e4 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -48,7 +48,6 @@ typedef enum {
typedef void (*ETypeFunc) (GType type, gpointer user_data);
-const gchar * e_get_gnome2_user_dir (void);
const gchar * e_get_accels_filename (void);
void e_show_uri (GtkWindow *parent,
const gchar *uri);