aboutsummaryrefslogtreecommitdiff
path: root/src/ClientIdle.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 17:27:26 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 17:36:28 +0100
commit7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch)
tree7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/ClientIdle.cxx
parentf2510d60fad1c5811fba3d253ef1c8dabb712304 (diff)
Client: rename the struct client to class Client
Diffstat (limited to 'src/ClientIdle.cxx')
-rw-r--r--src/ClientIdle.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ClientIdle.cxx b/src/ClientIdle.cxx
index 7812c544..c2fa5dde 100644
--- a/src/ClientIdle.cxx
+++ b/src/ClientIdle.cxx
@@ -31,7 +31,7 @@ extern "C" {
* Send "idle" response to this client.
*/
static void
-client_idle_notify(struct client *client)
+client_idle_notify(Client *client)
{
unsigned flags, i;
const char *const* idle_names;
@@ -55,7 +55,7 @@ client_idle_notify(struct client *client)
}
void
-client_idle_add(struct client *client, unsigned flags)
+client_idle_add(Client *client, unsigned flags)
{
if (client_is_expired(client))
return;
@@ -71,7 +71,7 @@ client_idle_add(struct client *client, unsigned flags)
static void
client_idle_callback(gpointer data, gpointer user_data)
{
- struct client *client = (struct client *)data;
+ Client *client = (Client *)data;
unsigned flags = GPOINTER_TO_UINT(user_data);
client_idle_add(client, flags);
@@ -84,7 +84,7 @@ void client_manager_idle_add(unsigned flags)
client_list_foreach(client_idle_callback, GUINT_TO_POINTER(flags));
}
-bool client_idle_wait(struct client *client, unsigned flags)
+bool client_idle_wait(Client *client, unsigned flags)
{
assert(!client->idle_waiting);