From ced061124d0b402c5ce471ce04e9a936dc46da94 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Thu, 16 Jun 2011 14:43:56 +0200 Subject: [PATCH] xlib-xcb: Implement cairo_xlib_device_debug_{g,s}et_precision 63bdae27a83381fb8c3786c2d7a6c2592e388ee9 introduced a new public API cairo_xlib_device_debug_set_precision(), exported by cairo-xlib. cairo-xlib-xcb must implement it as well, because it must provide the same public API. Fixes the compilation of cairo-sphinx with --enable-tee --enable-xlib-xcb --enable-script. Reported-by: James Cloos --- src/cairo-xlib-xcb-surface.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/cairo-xlib-xcb-surface.c b/src/cairo-xlib-xcb-surface.c index 9c5eb5a8a..868844b16 100644 --- a/src/cairo-xlib-xcb-surface.c +++ b/src/cairo-xlib-xcb-surface.c @@ -540,4 +540,17 @@ cairo_xlib_surface_get_height (cairo_surface_t *abstract_surface) return surface->xcb->height; } +void +cairo_xlib_device_debug_set_precision (cairo_device_t *device, + int precision) +{ + cairo_xcb_device_debug_set_precision (device, precision); +} + +int +cairo_xlib_device_debug_get_precision (cairo_device_t *device) +{ + return cairo_xcb_device_debug_get_precision (device); +} + #endif /* CAIRO_HAS_XLIB_XCB_FUNCTIONS */