aboutsummaryrefslogtreecommitdiffstats
path: root/src/Idle.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Idle.cxx (renamed from src/idle.c)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idle.c b/src/Idle.cxx
index 2d174d78a..fce0cb7da 100644
--- a/src/idle.c
+++ b/src/Idle.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -23,8 +23,8 @@
*/
#include "config.h"
-#include "idle.h"
-#include "event_pipe.h"
+#include "Idle.hxx"
+#include "GlobalEvents.hxx"
#include <assert.h>
#include <glib.h>
@@ -71,7 +71,7 @@ idle_add(unsigned flags)
idle_flags |= flags;
g_mutex_unlock(idle_mutex);
- event_pipe_emit(PIPE_EVENT_IDLE);
+ GlobalEvents::Emit(GlobalEvents::IDLE);
}
unsigned