aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientIdle.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-09 08:12:44 +0100
committerMax Kellermann <max@duempel.org>2013-01-09 08:12:44 +0100
commit2564f763d7c206f36d6c10c16b78590e4a47714d (patch)
tree39786632609607cce887b4fa5d55ce73dfd9e32d /src/ClientIdle.cxx
parent377a2b9e077d19501b89f4347afa78baa6c32f5f (diff)
downloadmpd-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/ClientIdle.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ClientIdle.cxx b/src/ClientIdle.cxx
index a787cc401..c125a8dfa 100644
--- a/src/ClientIdle.cxx
+++ b/src/ClientIdle.cxx
@@ -70,9 +70,8 @@ client_idle_add(Client *client, unsigned flags)
}
static void
-client_idle_callback(gpointer data, gpointer user_data)
+client_idle_callback(Client *client, gpointer user_data)
{
- Client *client = (Client *)data;
unsigned flags = GPOINTER_TO_UINT(user_data);
client_idle_add(client, flags);