lib/mcconfig/paths.c: cleanup.
commit92889819ead19f185886f6618808d64e3143fc5d
authorMooffie <mooffie@gmail.com>
Wed, 7 Sep 2016 21:51:20 +0000 (8 00:51 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 11 Sep 2016 08:11:01 +0000 (11 11:11 +0300)
tree021970bb543883af1bbb7ea13caedfc7f945766f
parentd32f123d9ca67090a3965ea26810e0d0d905a118
lib/mcconfig/paths.c: cleanup.

We can conclude, by reading their GLib source[1], by their documentation,
and by looking at how popular programs use them[2], that the functions
g_get_user_{config,cache,data}_dir() don't return a NULL or empty string.
So the handling of this case can go.

[1] https://git.gnome.org/browse/glib/tree/glib/gutils.c
[2] E.g., google "g_get_user_data_dir".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/mcconfig/paths.c