[PATCH 21/25] doc/xcb: document cairo_xcb_device_get_connection

Nis Martensen nis.martensen at web.de
Sun Mar 4 08:04:15 PST 2012


---
 src/cairo-xcb-connection.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/cairo-xcb-connection.c b/src/cairo-xcb-connection.c
index 95d6b8f..aa60608 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)
 {
-- 
1.7.2.5


--------------090104080009020304000505
Content-Type: text/plain;
 name="0022-doc-fix-broken-link.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0022-doc-fix-broken-link.patch.txt"



More information about the cairo mailing list