diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-04-09 08:32:22 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-04-10 18:28:42 +0200 |
commit | e425c44e9c4c1796ccc3557a0368cf3b3a685a31 (patch) | |
tree | 770b44ec388128a0925b7a809ccad855efcc37aa | |
parent | 061ea78ad2838450b20d5550a7285823e0d24e1b (diff) |
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.
-rw-r--r-- | boilerplate/cairo-boilerplate-xlib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-xlib.c b/boilerplate/cairo-boilerplate-xlib.c index 61bdd5a1..83280e99 100644 --- a/boilerplate/cairo-boilerplate-xlib.c +++ b/boilerplate/cairo-boilerplate-xlib.c @@ -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 |