summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-06-06 05:25:59 +0200
committerJavier Jardón <jjardon@gnome.org>2010-06-06 05:26:38 +0200
commita131beda54a15b071b6571b12f2f2ad8cb342c04 (patch)
tree70c2adfc6613e6576bfdd135c6a2d1c9d8cee19d
parente08c7b86c43f3eb8c230355be5fa92b504e3fff9 (diff)
[docs] Improve the g_get_system_config_dirs() docs.
The retrieved list of directories is XDG_CONFIG_DIRS, Also mention the retrieved directory on Windows: CSIDL_COMMON_APPDATA
-rw-r--r--glib/gutils.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/glib/gutils.c b/glib/gutils.c
index 58ab9c970..4e7b00004 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2819,8 +2819,16 @@ g_get_system_data_dirs (void)
*
* On UNIX platforms this is determined using the mechanisms described in
* the <ulink url="http://www.freedesktop.org/Standards/basedir-spec">
- * XDG Base Directory Specification</ulink>
- *
+ * XDG Base Directory Specification</ulink>.
+ * In this case the list of directories retrieved will be XDG_CONFIG_DIRS.
+ *
+ * On Windows is the directory that contains application data for all users.
+ * A typical path is C:\Documents and Settings\All Users\Application Data.
+ * This folder is used for application data that is not user specific.
+ * For example, an application can store a spell-check dictionary, a database
+ * of clip art, or a log file in the CSIDL_COMMON_APPDATA folder.
+ * This information will not roam and is available to anyone using the computer.
+ *
* Return value: a %NULL-terminated array of strings owned by GLib that must
* not be modified or freed.
* Since: 2.6