[cairo-commit] src/cairo-device.c src/cairo.h

Benjamin Otte company at kemper.freedesktop.org
Thu Jul 8 19:25:14 PDT 2010


 src/cairo-device.c |   14 ++++++++++++++
 src/cairo.h        |    2 ++
 2 files changed, 16 insertions(+)

New commits:
commit ce530b2802683fe6c5289367ef03018f4081a2da
Author: Benjamin Otte <otte at redhat.com>
Date:   Fri Jul 9 04:24:51 2010 +0200

    doc: Add "@Since: 1.10" tags to device docs

diff --git a/src/cairo-device.c b/src/cairo-device.c
index d0e7066..dac1b3b 100644
--- a/src/cairo-device.c
+++ b/src/cairo-device.c
@@ -185,6 +185,8 @@ _cairo_device_init (cairo_device_t *device,
  * cairo_device_get_reference_count().
  *
  * Return value: the referenced #cairo_device_t.
+ *
+ * Since: 1.10
  **/
 cairo_device_t *
 cairo_device_reference (cairo_device_t *device)
@@ -211,6 +213,8 @@ slim_hidden_def (cairo_device_reference);
  *
  * Return value: %CAIRO_STATUS_SUCCESS on success or an error code if
  *               the device is in an error state.
+ *
+ * Since: 1.10
  **/
 cairo_status_t
 cairo_device_status (cairo_device_t *device)
@@ -233,6 +237,8 @@ cairo_device_status (cairo_device_t *device)
  * does nothing.
  *
  * This function may acquire devices.
+ *
+ * Since: 1.10
  **/
 void
 cairo_device_flush (cairo_device_t *device)
@@ -266,6 +272,8 @@ slim_hidden_def (cairo_device_flush);
  * associated with the device.
  *
  * This function may acquire devices.
+ *
+ * Since: 1.10
  **/
 void
 cairo_device_finish (cairo_device_t *device)
@@ -297,6 +305,8 @@ slim_hidden_def (cairo_device_finish);
  * cairo_device_reference().
  *
  * This function may acquire devices if the last reference was dropped.
+ *
+ * Since: 1.10
  **/
 void
 cairo_device_destroy (cairo_device_t *device)
@@ -377,6 +387,8 @@ cairo_device_get_type (cairo_device_t *device)
  *               the device is in an error state and could not be
  *               acquired. After a successful call to cairo_device_acquire(),
  *               a matching call to cairo_device_release() is required.
+ *
+ * Since: 1.10
  **/
 cairo_status_t
 cairo_device_acquire (cairo_device_t *device)
@@ -406,6 +418,8 @@ slim_hidden_def (cairo_device_acquire);
  *
  * Releases a @device previously acquired using cairo_device_acquire(). See
  * that function for details.
+ *
+ * Since: 1.10
  **/
 void
 cairo_device_release (cairo_device_t *device)
diff --git a/src/cairo.h b/src/cairo.h
index 02b4b6d..44ce561 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -159,6 +159,8 @@ typedef struct _cairo_surface cairo_surface_t;
  *
  * Memory management of #cairo_device_t is done with
  * cairo_device_reference() and cairo_device_destroy().
+ *
+ * Since: 1.10
  **/
 typedef struct _cairo_device cairo_device_t;
 


More information about the cairo-commit mailing list