aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerControl.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-17 19:34:59 +0200
committerMax Kellermann <max@duempel.org>2013-10-17 19:34:59 +0200
commitffea268d2e0a36fbc7a16f5fe14c7554a2eb56b3 (patch)
treec60a7be32e42d0cdcc7108aa64e513916b575d46 /src/PlayerControl.cxx
parent8e676db633aa8888c8408a91ef219d2261ef42e2 (diff)
downloadmpd-ffea268d2e0a36fbc7a16f5fe14c7554a2eb56b3.tar.gz
mpd-ffea268d2e0a36fbc7a16f5fe14c7554a2eb56b3.tar.xz
mpd-ffea268d2e0a36fbc7a16f5fe14c7554a2eb56b3.zip
PlayerControl: GetError() returns an Error, not a char*
Diffstat (limited to '')
-rw-r--r--src/PlayerControl.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/PlayerControl.cxx b/src/PlayerControl.cxx
index cf5789f10..e714429d3 100644
--- a/src/PlayerControl.cxx
+++ b/src/PlayerControl.cxx
@@ -23,8 +23,6 @@
#include "Song.hxx"
#include "DecoderControl.hxx"
-#include <glib.h>
-
#include <cmath>
#include <assert.h>
@@ -202,17 +200,6 @@ player_control::ClearError()
Unlock();
}
-char *
-player_control::GetErrorMessage() const
-{
- Lock();
- char *message = error_type != PlayerError::NONE
- ? g_strdup(error.GetMessage())
- : NULL;
- Unlock();
- return message;
-}
-
void
player_control::EnqueueSong(Song *song)
{