aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-07 19:38:10 +0200
committerMax Kellermann <max@duempel.org>2013-08-07 19:38:10 +0200
commit977004c3508a366499ff80ff87ac3a84b4fdf9eb (patch)
tree8aa2b14135a023454da1ea018d553471a8304a53 /src/Main.cxx
parentfdc7d13ad16184c20d2bd37063cbb4d9957a4461 (diff)
downloadmpd-977004c3508a366499ff80ff87ac3a84b4fdf9eb.tar.gz
mpd-977004c3508a366499ff80ff87ac3a84b4fdf9eb.tar.xz
mpd-977004c3508a366499ff80ff87ac3a84b4fdf9eb.zip
event/DeferredMonitor: use EventLoop::AddIdle()
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index a1a3fe976..42403922c 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -438,7 +438,7 @@ int mpd_main(int argc, char *argv[])
daemonize_set_user();
- GlobalEvents::Initialize();
+ GlobalEvents::Initialize(*main_loop);
GlobalEvents::Register(GlobalEvents::IDLE, idle_event_emitted);
#ifdef WIN32
GlobalEvents::Register(GlobalEvents::SHUTDOWN, shutdown_event_emitted);