[glib] [docs] Improve the g_get_user_cache_dir() docs



commit 07777db60d82c8f81feb407ec453f244ba10787c
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Jun 6 05:05:15 2010 +0200

    [docs] Improve the g_get_user_cache_dir() docs
    
    The retrieved directory is XDG_CACHE_HOME on UNIX platforms.
    Also mention the retrieved directory on Windows: CSIDL_INTERNET_CACHE.

 glib/gutils.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/glib/gutils.c b/glib/gutils.c
index 04d77bc..7337f74 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2167,8 +2167,14 @@ g_get_user_config_dir (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 directory retrieved will be XDG_CACHE_HOME.
+ *
+ * On Windows is the directory that serves as a common repository for
+ * temporary Internet files. A typical path is
+ * C:\Documents and Settings\username\Local Settings\Temporary Internet Files.
+ * See documentation for CSIDL_INTERNET_CACHE.
+ *
  * Return value: a string owned by GLib that must not be modified 
  *               or freed.
  * Since: 2.6



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]