From 26ebfc04b0668262976ec4fc38d8780c0937045a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 9 Jan 2013 23:12:53 +0100 Subject: EventPipe: rename to GlobalEvents --- src/UpdateRemove.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/UpdateRemove.cxx') 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); -- cgit v1.2.3