From ed89a3eeb08d200eb91fd003d52b6f40bb2f0a06 Mon Sep 17 00:00:00 2001 From: Nis Martensen Date: Sun, 4 Mar 2012 17:04:15 +0100 Subject: [PATCH] doc/xcb: document cairo_xcb_device_get_connection Signed-off-by: Uli Schlachter --- src/cairo-xcb-connection.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/cairo-xcb-connection.c b/src/cairo-xcb-connection.c index 95d6b8fc4..aa6060848 100644 --- a/src/cairo-xcb-connection.c +++ b/src/cairo-xcb-connection.c @@ -776,6 +776,16 @@ _cairo_xcb_connection_get_xid (cairo_xcb_connection_t *connection) return xid; } +/** + * cairo_xcb_device_get_connection: + * @device: a #cairo_device_t for the XCB backend + * + * Get the connection for the XCB device. + * + * Returns: the #xcb_connection_t for the connection + * + * Since: 1.12 + **/ xcb_connection_t * cairo_xcb_device_get_connection (cairo_device_t *device) {