aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateRemove.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 10:55:05 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 11:35:35 +0100
commit52638c68f51209dc6c5a966feeadffc5b922f919 (patch)
treec69b6e30407f7c80cc1b8a3aa3af408c60a42262 /src/UpdateRemove.cxx
parent400ff1c81253d29b127834c0b5367e83bbb3430c (diff)
downloadmpd-52638c68f51209dc6c5a966feeadffc5b922f919.tar.gz
mpd-52638c68f51209dc6c5a966feeadffc5b922f919.tar.xz
mpd-52638c68f51209dc6c5a966feeadffc5b922f919.zip
Playlist: convert functions to methods
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);