summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-xrender.h
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-09-30 13:23:06 -0700
committerJamey Sharp <jamey@minilop.net>2006-10-11 21:52:49 -0700
commit7d0ff885df7029f96568ac7fad3f15b002bec1b3 (patch)
treed0653bbdbf11eb3324fb7ff584701c5cdb7b7955 /src/cairo-xcb-xrender.h
parent38dcddd79ef95b04bf8d6ff8336cb997875df41b (diff)
Update XCB names for XCB 1.0 RC2 release.
New names are in line with cairo naming standards. XIDs are now typedefs not structs. xcb_generate_id replaces *_new functions. Also fixed all warnings (one const, new enums in switch statements).
Diffstat (limited to 'src/cairo-xcb-xrender.h')
-rw-r--r--src/cairo-xcb-xrender.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cairo-xcb-xrender.h b/src/cairo-xcb-xrender.h
index a584953d..9df68567 100644
--- a/src/cairo-xcb-xrender.h
+++ b/src/cairo-xcb-xrender.h
@@ -41,16 +41,16 @@
#if CAIRO_HAS_XCB_SURFACE
-#include <X11/XCB/xcb.h>
-#include <X11/XCB/render.h>
+#include <xcb/xcb.h>
+#include <xcb/render.h>
CAIRO_BEGIN_DECLS
cairo_public cairo_surface_t *
-cairo_xcb_surface_create_with_xrender_format (XCBConnection *c,
- XCBDRAWABLE drawable,
- XCBSCREEN *screen,
- XCBRenderPICTFORMINFO *format,
+cairo_xcb_surface_create_with_xrender_format (xcb_connection_t *c,
+ xcb_drawable_t drawable,
+ xcb_screen_t *screen,
+ xcb_render_pictforminfo_t *format,
int width,
int height);