diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-01-03 22:51:28 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-01-03 22:56:17 +0000 |
commit | 388ae177e4100698289819429fa1f8e6958d1c60 (patch) | |
tree | e97f0c4bb3ee5d9ac9e5e095a26582f8e888f748 /boilerplate/cairo-boilerplate-xcb.c | |
parent | 5f816ccd25d1cd303fc1e9e44e80c1207b2a424a (diff) | |
download | cairo-388ae177e4100698289819429fa1f8e6958d1c60.tar.gz |
[boilerplate] Remove CAIRO_BOILERPLATE_LOG()
The variadic macro is only used within boilerplate/ so replace it with a
simple, and portable, call to fprintf.
Diffstat (limited to 'boilerplate/cairo-boilerplate-xcb.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-xcb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-xcb.c b/boilerplate/cairo-boilerplate-xcb.c index dca7acf92..306f874ac 100644 --- a/boilerplate/cairo-boilerplate-xcb.c +++ b/boilerplate/cairo-boilerplate-xcb.c @@ -73,7 +73,7 @@ _cairo_boilerplate_xcb_create_surface (const char *name, xtc->c = c = xcb_connect(NULL,NULL); if (xcb_connection_has_error(c)) { - CAIRO_BOILERPLATE_LOG ("Failed to connect to X server through XCB\n"); + fprintf (stderr, "Failed to connect to X server through XCB\n"); return NULL; } @@ -92,7 +92,7 @@ _cairo_boilerplate_xcb_create_surface (const char *name, break; case CAIRO_CONTENT_ALPHA: /* would be XCB_PICT_STANDARD_A_8 */ default: - CAIRO_BOILERPLATE_LOG ("Invalid content for XCB test: %d\n", content); + fprintf (stderr, "Invalid content for XCB test: %d\n", content); return NULL; } |