Client: move "idle" functions into the class

This commit is contained in:
Max Kellermann
2013-01-16 21:46:13 +01:00
parent 74500eacca
commit cab84af72e
5 changed files with 36 additions and 49 deletions

View File

@@ -86,7 +86,7 @@ client_push_message(Client *client, const ClientMessage &msg)
return false;
if (client->messages.empty())
client_idle_add(client, IDLE_MESSAGE);
client->IdleAdd(IDLE_MESSAGE);
client->messages.push_back(msg);
return true;