input_stream, main: remove obsolete GLib version checks

MPD requires GLib 2.16.
This commit is contained in:
Max Kellermann
2012-08-13 23:27:47 +02:00
parent 12be9e818f
commit a582deee2c
3 changed files with 0 additions and 8 deletions

View File

@@ -58,12 +58,10 @@ lastfm_init(const struct config_param *param)
lastfm_config.user = g_uri_escape_string(user, NULL, false);
#if GLIB_CHECK_VERSION(2,16,0)
if (strlen(passwd) != 32)
lastfm_config.md5 = g_compute_checksum_for_string(G_CHECKSUM_MD5,
passwd, strlen(passwd));
else
#endif
lastfm_config.md5 = g_strdup(passwd);
return true;