OSDN Git Service

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)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 14 Jul 2012 19:19:46 +0000 (15:19 -0400)
commit57214e812d6279490d794902d44180bf25d877da
tree38638933a76e397135da59b7343e8868381a289e
parentd43c89c286df794e9e73b9f58c91912dd4b68046
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