test/*: remove GLib logging setup
Obsolete, our logging library doesn't ues GLib anymore.
This commit is contained in:
@@ -35,16 +35,6 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
class MyArchiveVisitor final : public ArchiveVisitor {
|
||||
public:
|
||||
virtual void VisitArchiveEntry(const char *path_utf8) override {
|
||||
@@ -71,8 +61,6 @@ main(int argc, char **argv)
|
||||
g_thread_init(NULL);
|
||||
#endif
|
||||
|
||||
g_log_set_default_handler(my_log_func, NULL);
|
||||
|
||||
/* initialize MPD */
|
||||
|
||||
config_global_init();
|
||||
|
Reference in New Issue
Block a user