diff options
Diffstat (limited to 'src/UpdateGlue.cxx')
-rw-r--r-- | src/UpdateGlue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx index cb1600d4f..2edd19cc2 100644 --- a/src/UpdateGlue.cxx +++ b/src/UpdateGlue.cxx @@ -24,7 +24,6 @@ #include "UpdateRemove.hxx" #include "Mapper.hxx" #include "DatabaseSimple.hxx" -#include "Playlist.hxx" extern "C" { #include "event_pipe.h" @@ -33,6 +32,7 @@ extern "C" { } #include "Main.hxx" +#include "Partition.hxx" #include "mpd_error.h" #include <glib.h> @@ -155,7 +155,7 @@ static void update_finished_event(void) if (modified) { /* send "idle" events */ - playlist_increment_version_all(&g_playlist); + playlist_increment_version_all(&global_partition->playlist); idle_add(IDLE_DATABASE); } |