Fix cairo-xlib-xcb compilation

This is broken since:

commit b1192beac7
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Mon Sep 21 21:35:05 2015 +0930

    Don't cull very thin lines on vector surfaces

    On vector surfaces, use a minimum line width when calculating extents.

    Bug 77298

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-11-06 20:50:47 +01:00
parent fc689d7d35
commit bf41cc397f

View file

@ -447,7 +447,8 @@ _cairo_xlib_xcb_surface_create (void *dpy,
_cairo_surface_init (&surface->base,
&_cairo_xlib_xcb_surface_backend,
_cairo_xlib_xcb_device_create (dpy, xcb->device),
xcb->content);
xcb->content,
FALSE); /* is_vector */
/* _cairo_surface_init() got another reference to the device, drop ours */
cairo_device_destroy (surface->base.device);