aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-13 16:12:43 +0200
committerMax Kellermann <max@duempel.org>2009-10-13 16:12:43 +0200
commit4390d72b141304b8dfcdb374b428d3b4fae56237 (patch)
treea7c2132c621c04a1a7494a39b97489900e128539 /src/main.c
parent2bf740fc71438edcb2c89e722ee8c83beb560128 (diff)
downloadmpd-4390d72b141304b8dfcdb374b428d3b4fae56237.tar.gz
mpd-4390d72b141304b8dfcdb374b428d3b4fae56237.tar.xz
mpd-4390d72b141304b8dfcdb374b428d3b4fae56237.zip
configure.ac: require GLib 2.16
Accidently, MPD has been using several GLib 2.16 functions for a while, and nobody noticed yet. To simplify the code base, let's bump the minimum GLib version for MPD to 2.16. That version is old enough, and it's reasonable to expect users to have it.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index d721bfe00..e601fb6bf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -108,10 +108,8 @@ glue_mapper_init(void)
const char *music_dir, *playlist_dir;
music_dir = config_get_path(CONF_MUSIC_DIR);
-#if GLIB_CHECK_VERSION(2,14,0)
if (music_dir == NULL)
music_dir = g_get_user_special_dir(G_USER_DIRECTORY_MUSIC);
-#endif
playlist_dir = config_get_path(CONF_PLAYLIST_DIR);