From b2d3d15e978aef2566a1bdae435d71cb326dec4d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 17 Apr 2013 22:58:33 +0200 Subject: Main: move global variables to struct Instance More preparations for multi-player support. --- src/UpdateRemove.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UpdateRemove.cxx') diff --git a/src/UpdateRemove.cxx b/src/UpdateRemove.cxx index acf8bf46c..fa4c8e764 100644 --- a/src/UpdateRemove.cxx +++ b/src/UpdateRemove.cxx @@ -20,13 +20,13 @@ #include "config.h" /* must be first for large file support */ #include "UpdateRemove.hxx" #include "Playlist.hxx" -#include "Partition.hxx" #include "GlobalEvents.hxx" #include "thread/Mutex.hxx" #include "thread/Cond.hxx" #include "song.h" #include "Main.hxx" +#include "Instance.hxx" #ifdef ENABLE_SQLITE #include "StickerDatabase.hxx" @@ -63,7 +63,7 @@ song_remove_event(void) sticker_song_delete(removed_song); #endif - global_partition->DeleteSong(*removed_song); + instance->DeleteSong(*removed_song); /* clear "removed_song" and send signal to update thread */ remove_mutex.lock(); -- cgit v1.2.3