aboutsummaryrefslogtreecommitdiffstats
path: root/src/Playlist.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-09 22:21:16 +0100
committerMax Kellermann <max@duempel.org>2013-01-09 22:21:16 +0100
commit4bef0a1e62602a79764d9867b7fcf11dd940edbe (patch)
treebbc3cf2bbe47d7488bf12e130ffdd1b8e7daced5 /src/Playlist.cxx
parent3e5f09be0b38e0cc7e5eb8dd623c631b6ba45519 (diff)
downloadmpd-4bef0a1e62602a79764d9867b7fcf11dd940edbe.tar.gz
mpd-4bef0a1e62602a79764d9867b7fcf11dd940edbe.tar.xz
mpd-4bef0a1e62602a79764d9867b7fcf11dd940edbe.zip
Playlist: move playlist_increment_version_all() into the class
Diffstat (limited to '')
-rw-r--r--src/Playlist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Playlist.cxx b/src/Playlist.cxx
index a402471da..1977188da 100644
--- a/src/Playlist.cxx
+++ b/src/Playlist.cxx
@@ -31,9 +31,9 @@
#define G_LOG_DOMAIN "playlist"
void
-playlist_increment_version_all(struct playlist *playlist)
+playlist::FullIncrementVersions()
{
- playlist->queue.ModifyAll();
+ queue.ModifyAll();
idle_add(IDLE_PLAYLIST);
}