glib: fix g_reload_user_special_dirs_cache
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
Tue, 22 May 2012 19:56:10 +0000 (21:56 +0200)
committerMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
Fri, 1 Jun 2012 08:46:00 +0000 (10:46 +0200)
commitce5bd68e26d0e67c24313076b7f634f1dcac81b9
tree4afe4f091e601933e3a0c28a56aaedf44c8b2baf
parent2e31166f6a005d2af724942ec3e8f58cecb3a756
glib: fix g_reload_user_special_dirs_cache

We handle a special case for G_USER_DIRECTORY_DESKTOP
when we init the values but drop it when we reload them.
Fix this by preferring old values to NULL

https://bugzilla.gnome.org/show_bug.cgi?id=676594

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
glib/gutils.c