diff options
author | Max Kellermann <max@duempel.org> | 2013-01-09 23:12:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-09 23:31:43 +0100 |
commit | 26ebfc04b0668262976ec4fc38d8780c0937045a (patch) | |
tree | 9bbb7825ea5299c9ebd5ed0343e92da70d0012b6 /src/Volume.cxx | |
parent | 8782f6d232e43f1424e64c5c1f44d11679cf9c6e (diff) | |
download | mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.gz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.xz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.zip |
EventPipe: rename to GlobalEvents
Diffstat (limited to 'src/Volume.cxx')
-rw-r--r-- | src/Volume.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Volume.cxx b/src/Volume.cxx index 6a71a6964..116f4aa18 100644 --- a/src/Volume.cxx +++ b/src/Volume.cxx @@ -21,7 +21,7 @@ #include "Volume.hxx" #include "MixerAll.hxx" #include "Idle.hxx" -#include "EventPipe.hxx" +#include "GlobalEvents.hxx" #include <glib.h> @@ -41,7 +41,7 @@ static int last_hardware_volume = -1; static GTimer *hardware_volume_timer; /** - * Handler for #PIPE_EVENT_MIXER. + * Handler for #GlobalEvents::MIXER. */ static void mixer_event_callback(void) @@ -62,7 +62,7 @@ void volume_init(void) { hardware_volume_timer = g_timer_new(); - event_pipe_register(PIPE_EVENT_MIXER, mixer_event_callback); + GlobalEvents::Register(GlobalEvents::MIXER, mixer_event_callback); } int volume_level_get(void) |