boilerplate: Compile xlib without xrender

cairo_boilerplate_xlib_surface_disable_render() is not defined when
compiling without XRender, but it was used nonetheless. Replace it
with an empty stub when XRender is not available.
This commit is contained in:
Andrea Canciani 2010-04-09 08:32:22 +02:00
parent 061ea78ad2
commit e425c44e9c

View file

@ -269,6 +269,12 @@ cairo_boilerplate_xlib_surface_disable_render (cairo_surface_t *abstract_surface
return CAIRO_STATUS_SUCCESS;
}
#else
cairo_status_t
cairo_boilerplate_xlib_surface_disable_render (cairo_surface_t *abstract_surface)
{
return CAIRO_STATUS_SUCCESS;
}
#endif