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.
This commit is contained in:
M Joonas Pihlaja 2010-06-24 09:44:07 +03:00
parent aed744008d
commit 616e35d1fa

View file

@ -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. */
{