aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerControl.cxx
diff options
context:
space:
mode:
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)
{