diff options
author | Max Kellermann <max@duempel.org> | 2013-01-09 08:12:44 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-09 08:12:44 +0100 |
commit | 2564f763d7c206f36d6c10c16b78590e4a47714d (patch) | |
tree | 39786632609607cce887b4fa5d55ce73dfd9e32d /src/ClientList.hxx | |
parent | 377a2b9e077d19501b89f4347afa78baa6c32f5f (diff) | |
download | mpd-2564f763d7c206f36d6c10c16b78590e4a47714d.tar.gz mpd-2564f763d7c206f36d6c10c16b78590e4a47714d.tar.xz mpd-2564f763d7c206f36d6c10c16b78590e4a47714d.zip |
ClientList: don't use GLib
Use std::list instead of GList.
Diffstat (limited to '')
-rw-r--r-- | src/ClientList.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ClientList.hxx b/src/ClientList.hxx index 93e0f5408..fccc01d81 100644 --- a/src/ClientList.hxx +++ b/src/ClientList.hxx @@ -20,8 +20,6 @@ #ifndef MPD_CLIENT_LIST_HXX #define MPD_CLIENT_LIST_HXX -#include <glib.h> - class Client; bool @@ -37,7 +35,7 @@ void client_list_add(Client *client); void -client_list_foreach(GFunc func, gpointer user_data); +client_list_foreach(void (*callback)(Client *client, void *ctx), void *ctx); void client_list_remove(Client *client); |