summaryrefslogtreecommitdiff
path: root/src/cairo-xcb.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.h
parent38dcddd79ef95b04bf8d6ff8336cb997875df41b (diff)
downloadcairo-7d0ff885df7029f96568ac7fad3f15b002bec1b3.tar.gz
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.h')
-rw-r--r--src/cairo-xcb.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cairo-xcb.h b/src/cairo-xcb.h
index 54fd3259a..e180bb6aa 100644
--- a/src/cairo-xcb.h
+++ b/src/cairo-xcb.h
@@ -41,21 +41,21 @@
#if CAIRO_HAS_XCB_SURFACE
-#include <X11/XCB/xcb.h>
+#include <xcb/xcb.h>
CAIRO_BEGIN_DECLS
cairo_public cairo_surface_t *
-cairo_xcb_surface_create (XCBConnection *c,
- XCBDRAWABLE drawable,
- XCBVISUALTYPE *visual,
+cairo_xcb_surface_create (xcb_connection_t *c,
+ xcb_drawable_t drawable,
+ xcb_visualtype_t *visual,
int width,
int height);
cairo_public cairo_surface_t *
-cairo_xcb_surface_create_for_bitmap (XCBConnection *c,
- XCBPIXMAP bitmap,
- XCBSCREEN *screen,
+cairo_xcb_surface_create_for_bitmap (xcb_connection_t *c,
+ xcb_pixmap_t bitmap,
+ xcb_screen_t *screen,
int width,
int height);