i3-nagbar: eliminate xcb_change_gc_single with C99

This commit is contained in:
Michael Stapelberg
2011-10-23 17:55:58 +01:00
parent ada4857ad2
commit 78fea8e1fb
3 changed files with 6 additions and 15 deletions

View File

@ -20,14 +20,6 @@
#include "i3-nagbar.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);
}
/*
* Opens the window we use for input/output and maps it
*