aboutsummaryrefslogtreecommitdiffstats
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-24 14:13:03 +0100
committerMax Kellermann <max@duempel.org>2013-12-24 14:13:03 +0100
commit8064bbbc3f3d3bac50a9cd972106479fd32917cc (patch)
treea9faedf1fc734ca5919b0216d5302c949e4fea28 /test/DumpDatabase.cxx
parent64e898f6dbcfe5e584cb308dd3eca411bfd7667d (diff)
downloadmpd-8064bbbc3f3d3bac50a9cd972106479fd32917cc.tar.gz
mpd-8064bbbc3f3d3bac50a9cd972106479fd32917cc.tar.xz
mpd-8064bbbc3f3d3bac50a9cd972106479fd32917cc.zip
test/*: remove GLib logging setup
Obsolete, our logging library doesn't ues GLib anymore.
Diffstat (limited to '')
-rw-r--r--test/DumpDatabase.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 21a12d294..ec7de7e45 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -39,16 +39,6 @@ using std::endl;
#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);
-}
-
static bool
DumpDirectory(const Directory &directory, Error &)
{
@@ -94,8 +84,6 @@ main(int argc, char **argv)
g_thread_init(nullptr);
#endif
- g_log_set_default_handler(my_log_func, nullptr);
-
/* initialize MPD */
config_global_init();