test/*: remove GLib logging setup

Obsolete, our logging library doesn't ues GLib anymore.
This commit is contained in:
Max Kellermann
2013-12-24 14:13:03 +01:00
parent 64e898f6db
commit 8064bbbc3f
5 changed files with 0 additions and 60 deletions

View File

@@ -45,16 +45,6 @@ mixer_set_volume(gcc_unused Mixer *mixer,
return true;
}
static void
my_log_func(const gchar *log_domain, gcc_unused GLogLevelFlags log_level,
const gchar *message, gcc_unused gpointer user_data)
{
if (log_domain != NULL)
g_printerr("%s: %s\n", log_domain, message);
else
g_printerr("%s\n", message);
}
static const struct config_param *
find_named_config_block(ConfigOption option, const char *name)
{
@@ -111,8 +101,6 @@ int main(int argc, char **argv)
g_thread_init(NULL);
#endif
g_log_set_default_handler(my_log_func, NULL);
/* read configuration file (mpd.conf) */
config_global_init();