From 52638c68f51209dc6c5a966feeadffc5b922f919 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 10:55:05 +0100 Subject: Playlist: convert functions to methods --- src/DatabaseQueue.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/DatabaseQueue.cxx') diff --git a/src/DatabaseQueue.cxx b/src/DatabaseQueue.cxx index dd93cf662..e22144c07 100644 --- a/src/DatabaseQueue.cxx +++ b/src/DatabaseQueue.cxx @@ -30,8 +30,7 @@ static bool AddToQueue(Partition &partition, song &song, GError **error_r) { enum playlist_result result = - playlist_append_song(&partition.playlist, &partition.pc, - &song, NULL); + partition.playlist.AppendSong(partition.pc, &song, NULL); if (result != PLAYLIST_RESULT_SUCCESS) { g_set_error(error_r, playlist_quark(), result, "Playlist error"); -- cgit v1.2.3