[cairo] Compile failing in xcb backend

James Cloos cloos at jhcloos.com
Tue May 8 17:55:24 PDT 2007


Please consider pulling from:
git://people.freedesktop.org/~cloos/cairo.git master

to get this change:

commit 523a62282e71b4c9e530f72c29ca0a020dcfb3cc
Author:     James Cloos <cloos at jhcloos.com>
AuthorDate: Tue May 8 20:45:54 2007 -0400
Commit:     James Cloos <cloos at jhcloos.com>
CommitDate: Tue May 8 20:45:54 2007 -0400

    Fix typo from commit a8c8e17d
    
    This patch makes _cairo_xcb_surface_is_similar()
    compile and look akin to _cairo_xlib_surface_is_similar()
    from the same commit.

diff --git a/src/cairo-xcb-surface.c b/src/cairo-xcb-surface.c
index 304300a..dff284f 100644
--- a/src/cairo-xcb-surface.c
+++ b/src/cairo-xcb-surface.c
@@ -1586,7 +1586,7 @@ _cairo_xcb_surface_is_similar (void *surface_a,
     cairo_xcb_surface_t *b = surface_b;
     xcb_render_pictforminfo_t xrender_format;
 
-    if (! _cairo_xcb_surface_same_screen (dst, src))
+    if (! _cairo_xcb_surface_same_screen (a, b))
 	return FALSE;
 
     /* now check that the target is a similar format */


-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the cairo mailing list