aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseQueue.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/DatabaseQueue.cxx
parent400ff1c81253d29b127834c0b5367e83bbb3430c (diff)
Playlist: convert functions to methods
Diffstat (limited to 'src/DatabaseQueue.cxx')
-rw-r--r--src/DatabaseQueue.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DatabaseQueue.cxx b/src/DatabaseQueue.cxx
index dd93cf66..e22144c0 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");