configure.ac: require GLib 2.12
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h.
This commit is contained in:
@@ -111,8 +111,10 @@ 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);
|
||||
|
||||
|
Reference in New Issue
Block a user