summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-06-24 09:44:07 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-06-24 15:02:53 +0300
commit616e35d1fae703dc118ce503d25d4f57cfd16dfd (patch)
tree9d67a4808f289bb6300ef5391446a5e733489016 /boilerplate
parentaed744008dbaab49f28f9c54ad0850074ece5d66 (diff)
boilerplate: Remove the xlib-window target from Renderless builds.
I don't know why _cairo_boilerplate_xlib_window_create_surface() is in the Render-only section of the code, but since it is, this patch makes the boilerplate at least compile if we don't have Render support built in.
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/cairo-boilerplate-xlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-xlib.c b/boilerplate/cairo-boilerplate-xlib.c
index 17de2ad85..8c4128395 100644
--- a/boilerplate/cairo-boilerplate-xlib.c
+++ b/boilerplate/cairo-boilerplate-xlib.c
@@ -509,8 +509,6 @@ static const cairo_boilerplate_target_t targets[] = {
_cairo_boilerplate_xlib_synchronize,
FALSE, FALSE, FALSE
},
-#endif
-#if CAIRO_HAS_XLIB_SURFACE
{
"xlib-window", "xlib", NULL, NULL,
CAIRO_SURFACE_TYPE_XLIB, CAIRO_CONTENT_COLOR, 1,
@@ -523,6 +521,8 @@ static const cairo_boilerplate_target_t targets[] = {
_cairo_boilerplate_xlib_synchronize,
FALSE, FALSE, FALSE
},
+#endif
+#if CAIRO_HAS_XLIB_SURFACE
/* This is a fallback surface which uses xlib fallbacks instead of
* the Render extension. */
{