i3-input: eliminate xcb_change_gc_single usage with C99

This commit is contained in:
Michael Stapelberg
2011-10-23 17:26:06 +01:00
parent 4f57d49318
commit 0086bcb2b4
2 changed files with 4 additions and 12 deletions

View File

@ -20,14 +20,6 @@
#include "i3-input.h"
/*
* Convenience-wrapper around xcb_change_gc which saves us declaring a variable
*
*/
void xcb_change_gc_single(xcb_connection_t *conn, xcb_gcontext_t gc, uint32_t mask, uint32_t value) {
xcb_change_gc(conn, gc, mask, &value);
}
/*
* Returns the colorpixel to use for the given hex color (think of HTML).
*