[cogl/lionel/introspection: 9/76] texture-2d: add missing annotations



commit 685e2c7473e9c5d15f25c96fc3c35ad23e65fe6c
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 12:05:47 2013 +0100

    texture-2d: add missing annotations

 cogl/cogl-texture-2d-gl.h |    8 ++++----
 cogl/cogl-texture-2d.h    |   20 ++++++++++----------
 2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/cogl/cogl-texture-2d-gl.h b/cogl/cogl-texture-2d-gl.h
index 02f27a4..6d63725 100644
--- a/cogl/cogl-texture-2d-gl.h
+++ b/cogl/cogl-texture-2d-gl.h
@@ -53,10 +53,10 @@ COGL_BEGIN_DECLS
  * or if @width or @height don't have the correct texture
  * geometry.</note>
  *
- * Returns: A newly allocated #CoglTexture2D, 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 #CoglTexture2D, 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.
  *
  * Since: 2.0
  */
diff --git a/cogl/cogl-texture-2d.h b/cogl/cogl-texture-2d.h
index a07b521..07a7a69 100644
--- a/cogl/cogl-texture-2d.h
+++ b/cogl/cogl-texture-2d.h
@@ -94,7 +94,7 @@ cogl_is_texture_2d (void *object);
  * checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
  * cogl_has_feature().</note>
  *
- * Returns: A new #CoglTexture2D object with no storage yet allocated.
+ * Returns: (transfer full): A new #CoglTexture2D object with no storage yet allocated.
  *
  * Since: 2.0
  */
@@ -120,7 +120,7 @@ cogl_texture_2d_new_with_size (CoglContext *ctx,
  *
  * Creates a #CoglTexture2D from an image file.
  *
- * Return value: A newly created #CoglTexture2D or %NULL on failure
+ * Return value: (transfer full): A newly created #CoglTexture2D or %NULL on failure
  *               and @error will be updated.
  *
  * Since: 1.16
@@ -161,10 +161,10 @@ cogl_texture_2d_new_from_file (CoglContext *ctx,
  * checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
  * cogl_has_feature().</note>
  *
- * Returns: A newly allocated #CoglTexture2D, or if the size is not
- *          supported (because it is too large or a non-power-of-two
- *          size that the hardware doesn't support) it will return
- *          %NULL and set @error.
+ * Returns: (transfer full): A newly allocated #CoglTexture2D, or if
+ *          the size is not supported (because it is too large or a
+ *          non-power-of-two size that the hardware doesn't support)
+ *          it will return %NULL and set @error.
  *
  * Since: 2.0
  */
@@ -202,10 +202,10 @@ cogl_texture_2d_new_from_data (CoglContext *ctx,
  * checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
  * cogl_has_feature().</note>
  *
- * Returns: A newly allocated #CoglTexture2D, or if the size is not
- *          supported (because it is too large or a non-power-of-two
- *          size that the hardware doesn't support) it will return
- *          %NULL and set @error.
+ * Returns: (transfer full): A newly allocated #CoglTexture2D, or if
+ *          the size is not supported (because it is too large or a
+ *          non-power-of-two size that the hardware doesn't support)
+ *          it will return %NULL and set @error.
  *
  * Since: 2.0
  * Stability: unstable


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