summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNis Martensen <nis.martensen@web.de>2012-03-04 17:04:15 +0100
committerUli Schlachter <psychon@znc.in>2012-03-10 10:20:30 +0100
commited89a3eeb08d200eb91fd003d52b6f40bb2f0a06 (patch)
tree32b698bc511606d1b6c0a6e3a182bb425e36e7f7
parente44186fdfe1334354152744c25894e1e08dd9f81 (diff)
doc/xcb: document cairo_xcb_device_get_connection
Signed-off-by: Uli Schlachter <psychon@znc.in>
-rw-r--r--src/cairo-xcb-connection.c10
1 files changed, 10 insertions, 0 deletions
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)
{