[cogl/lionel/introspection: 15/76] texture-rectangle: add missing transfer annotations



commit c21e8e5036d47d80e5cdbda7b567ca1bac3016c6
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 14:36:16 2013 +0100

    texture-rectangle: add missing transfer annotations

 cogl/cogl-texture-rectangle.h |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/cogl/cogl-texture-rectangle.h b/cogl/cogl-texture-rectangle.h
index 5e0dfc5..9f1cbde 100644
--- a/cogl/cogl-texture-rectangle.h
+++ b/cogl/cogl-texture-rectangle.h
@@ -104,9 +104,10 @@ cogl_is_texture_rectangle (void *object);
  * first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
  * using cogl_has_feature().</note>
  *
- * Returns: A pointer to a newly allocated #CoglTextureRectangle texture
- *          or if the size was too large or there wasn't enough memory
- *          %NULL is returned and @error set.
+ * Return value: (transfer full): A pointer to a newly allocated
+ *          #CoglTextureRectangle texture or if the size was too large
+ *          or there wasn't enough memory %NULL is returned and @error
+ *          set.
  *
  * Since: 1.10
  * Stability: unstable
@@ -145,9 +146,10 @@ cogl_texture_rectangle_new_with_size (CoglContext *ctx,
  * first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
  * using cogl_has_feature().</note>
  *
- * Returns: A pointer to a newly allocated #CoglTextureRectangle texture
- *          or if the size was too large or there wasn't enough memory
- *          %NULL is returned and @error set.
+ * Return value: (transfer full): A pointer to a newly allocated
+ *          #CoglTextureRectangle texture or if the size was too large
+ *          or there wasn't enough memory %NULL is returned and @error
+ *          set.
  * Since: 2.0
  * Stability: unstable
  */
@@ -186,12 +188,11 @@ cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
  * first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
  * using cogl_has_feature().</note>
 
- * Returns: A newly allocated #CoglTextureRectangle, or if Cogl could
- *          not validate the @gl_handle in some way (perhaps because
- *          of an unsupported format) it will return %NULL and set
- *          @error.
+ * Return value: (transfer full): A newly allocated
+ *          #CoglTextureRectangle, or if Cogl could not validate the
+ *          @gl_handle in some way (perhaps because of an unsupported
+ *          format) it will return %NULL and set @error.
  *
-
  */
 CoglTextureRectangle *
 cogl_texture_rectangle_new_from_foreign (CoglContext *ctx,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]