aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateRemove.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/UpdateRemove.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/UpdateRemove.cxx b/src/UpdateRemove.cxx
index c1a0cd32b..41aa51773 100644
--- a/src/UpdateRemove.cxx
+++ b/src/UpdateRemove.cxx
@@ -64,9 +64,7 @@ song_remove_event(void)
sticker_song_delete(removed_song);
#endif
- playlist_delete_song(&global_partition->playlist,
- &global_partition->pc,
- removed_song);
+ global_partition->DeleteSong(*removed_song);
/* clear "removed_song" and send signal to update thread */
g_mutex_lock(remove_mutex);