diff options
Diffstat (limited to '')
-rw-r--r-- | src/UpdateRemove.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UpdateRemove.cxx b/src/UpdateRemove.cxx index afa7c2931..f7e6c80ec 100644 --- a/src/UpdateRemove.cxx +++ b/src/UpdateRemove.cxx @@ -21,7 +21,7 @@ #include "UpdateRemove.hxx" #include "Playlist.hxx" #include "Partition.hxx" -#include "EventPipe.hxx" +#include "GlobalEvents.hxx" #include "song.h" #include "Main.hxx" @@ -76,7 +76,7 @@ update_remove_global_init(void) remove_mutex = g_mutex_new(); remove_cond = g_cond_new(); - event_pipe_register(PIPE_EVENT_DELETE, song_remove_event); + GlobalEvents::Register(GlobalEvents::DELETE, song_remove_event); } void @@ -93,7 +93,7 @@ update_remove_song(const struct song *song) removed_song = song; - event_pipe_emit(PIPE_EVENT_DELETE); + GlobalEvents::Emit(GlobalEvents::DELETE); g_mutex_lock(remove_mutex); |