From 8064bbbc3f3d3bac50a9cd972106479fd32917cc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 24 Dec 2013 14:13:03 +0100 Subject: test/*: remove GLib logging setup Obsolete, our logging library doesn't ues GLib anymore. --- test/dump_text_file.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'test/dump_text_file.cxx') diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index bb84f5cce..dd0cba0f2 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -38,16 +38,6 @@ #include #include -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 void dump_text_file(TextInputStream &is) { @@ -109,8 +99,6 @@ int main(int argc, char **argv) g_thread_init(NULL); #endif - g_log_set_default_handler(my_log_func, NULL); - /* initialize MPD */ config_global_init(); -- cgit v1.2.3