From 2564f763d7c206f36d6c10c16b78590e4a47714d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 9 Jan 2013 08:12:44 +0100 Subject: ClientList: don't use GLib Use std::list instead of GList. --- src/ClientList.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ClientList.hxx') diff --git a/src/ClientList.hxx b/src/ClientList.hxx index 93e0f540..fccc01d8 100644 --- a/src/ClientList.hxx +++ b/src/ClientList.hxx @@ -20,8 +20,6 @@ #ifndef MPD_CLIENT_LIST_HXX #define MPD_CLIENT_LIST_HXX -#include - 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); -- cgit v1.2.3