aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapper.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-01 00:37:22 +0100
committerMax Kellermann <max@duempel.org>2009-03-01 00:37:22 +0100
commitae87abae593e7baf07b547d8348c31213838e437 (patch)
tree9122b1fd0007a0b9f2d774865c39988cfddf2304 /src/mapper.c
parent82b081a6db88714aa2501e875e2e0f129f047d08 (diff)
downloadmpd-ae87abae593e7baf07b547d8348c31213838e437.tar.gz
mpd-ae87abae593e7baf07b547d8348c31213838e437.tar.xz
mpd-ae87abae593e7baf07b547d8348c31213838e437.zip
use GLIB_CHECK_VERSION()
Use GLIB_CHECK_VERSION() instead of manually checking GLIB_MAJOR_VERSION, ...
Diffstat (limited to '')
-rw-r--r--src/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapper.c b/src/mapper.c
index b167479dd..66bdeebaa 100644
--- a/src/mapper.c
+++ b/src/mapper.c
@@ -96,7 +96,7 @@ void mapper_init(void)
path = config_get_path(CONF_MUSIC_DIR);
if (path != NULL)
mapper_set_music_dir(path);
-#if GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 14)
+#if GLIB_CHECK_VERSION(2,14,0)
else {
path = g_get_user_special_dir(G_USER_DIRECTORY_MUSIC);
if (path != NULL)