From 12fe21210efd2669b2788066c85eb268ca718297 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 11 Jun 2008 16:17:56 +0000 Subject: [PATCH] Improve the docs svn path=/trunk/; revision=7003 --- ChangeLog | 9 +++++++++ glib/gutils.c | 3 +++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9135ccfd..e8cecfcd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-06-11 Matthias Clasen + + Bug 455215 – g_get_user_special_dir: no reference about + G_USER_DIRECTORY_DOWNLOAD fallback to $HOME/Desktop if + xdg-user-dirs is not in use + + * glib/gutils.c (g_get_user_special_dir): Improve the docs. + Proposed by Luca Ferretti + 2008-06-11 Matthias Clasen Bug 498732 – g_key_file_to_data cannot fail diff --git a/glib/gutils.c b/glib/gutils.c index 4654388f..b2b7dc15 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -2446,6 +2446,9 @@ load_user_special_dirs (void) * Returns the full path of a special directory using its logical id. * * On Unix this is done using the XDG special user directories. + * For compatibility with existing practise, %G_USER_DIRECTORY_DESKTOP + * falls back to $HOME/Desktop when XDG special + * user directories have not been set up. * * Depending on the platform, the user might be able to change the path * of the special directory without requiring the session to restart; GLib -- 2.34.1