aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistGlobal.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/PlaylistGlobal.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/PlaylistGlobal.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PlaylistGlobal.cxx b/src/PlaylistGlobal.cxx
index 92572cde9..8490392ea 100644
--- a/src/PlaylistGlobal.cxx
+++ b/src/PlaylistGlobal.cxx
@@ -34,14 +34,13 @@ extern "C" {
static void
playlist_tag_event(void)
{
- playlist_tag_changed(&global_partition->playlist);
+ global_partition->playlist.TagChanged();
}
static void
playlist_event(void)
{
- playlist_sync(&global_partition->playlist,
- &global_partition->pc);
+ global_partition->playlist.SyncWithPlayer(global_partition->pc);
}
void