xlib-xcb: Implement cairo_xlib_device_debug_{g,s}et_precision

63bdae27a8 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 <cloos@jhcloos.com>
This commit is contained in:
Andrea Canciani 2011-06-16 14:43:56 +02:00
parent 3a504282ef
commit ced061124d

View file

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