[evolution/wip/gsettings] Remove unused e_get_gnome2_user_dir().
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Remove unused e_get_gnome2_user_dir().
- Date: Wed, 29 Jun 2011 17:42:55 +0000 (UTC)
commit f96a45d4bfe30e7b40c6ff75a7879e32dbe52e5f
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon May 16 10:03:20 2011 -0400
Remove unused e_get_gnome2_user_dir().
doc/reference/shell/eshell-sections.txt | 1 -
doc/reference/shell/tmpl/e-util.sgml | 9 ---------
doc/reference/shell/tmpl/eshell-unused.sgml | 8 ++++++++
e-util/e-util.c | 26 --------------------------
e-util/e-util.h | 1 -
5 files changed, 8 insertions(+), 37 deletions(-)
---
diff --git a/doc/reference/shell/eshell-sections.txt b/doc/reference/shell/eshell-sections.txt
index 1e75927..d9d04fb 100644
--- a/doc/reference/shell/eshell-sections.txt
+++ b/doc/reference/shell/eshell-sections.txt
@@ -1128,7 +1128,6 @@ EWebViewPrivate
<SECTION>
<FILE>e-util</FILE>
<TITLE>Miscellaneous Utilities</TITLE>
-e_get_gnome2_user_dir
e_get_accels_filename
e_show_uri
e_display_help
diff --git a/doc/reference/shell/tmpl/e-util.sgml b/doc/reference/shell/tmpl/e-util.sgml
index 060ec3f..2db95eb 100644
--- a/doc/reference/shell/tmpl/e-util.sgml
+++ b/doc/reference/shell/tmpl/e-util.sgml
@@ -20,15 +20,6 @@ Miscellaneous Utilities
<!-- ##### SECTION Image ##### -->
-<!-- ##### FUNCTION e_get_gnome2_user_dir ##### -->
-<para>
-
-</para>
-
- void:
- Returns:
-
-
<!-- ##### FUNCTION e_get_accels_filename ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/eshell-unused.sgml b/doc/reference/shell/tmpl/eshell-unused.sgml
index 9ca9911..b2beae7 100644
--- a/doc/reference/shell/tmpl/eshell-unused.sgml
+++ b/doc/reference/shell/tmpl/eshell-unused.sgml
@@ -430,6 +430,14 @@ e-shell-window.sgml
@binding:
+<!-- ##### FUNCTION e_get_gnome2_user_dir ##### -->
+<para>
+
+</para>
+
+ void:
+ Returns:
+
<!-- ##### FUNCTION e_get_user_data_dir ##### -->
<para>
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 7c203ec..427f479 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 554c930..e1f6c79 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]