From e40b5ae3ef6a637f1469557b8d7be94a9cf59f6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Sun, 6 Jun 2010 04:57:46 +0200 Subject: [PATCH] [docs] Improve the g_get_user_data_dir() docs The retrieved directory is XDG_DATA_HOME on UNIX platforms. Also mention the retrieved directory on Windows: CSIDL_PERSONAL. --- glib/gutils.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/glib/gutils.c b/glib/gutils.c index f74f0ec..04d77bc 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -2049,8 +2049,12 @@ g_set_application_name (const gchar *application_name) * * On UNIX platforms this is determined using the mechanisms described in * the - * XDG Base Directory Specification - * + * XDG Base Directory Specification. + * In this case the directory retrieved will be XDG_DATA_HOME. + * + * On Windows is the virtual folder that represents the My Documents + * desktop item. See documentation for CSIDL_PERSONAL. + * * Return value: a string owned by GLib that must not be modified * or freed. * Since: 2.6 -- 2.7.4