[cogl] texture-2d-sliced: add missing transfer annotations



commit 2700670a0e5dfece3431939532f7d6716ad3a24b
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 13:21:32 2013 +0100

    texture-2d-sliced: add missing transfer annotations
    
    Reviewed-by: Robert Bragg <robert linux intel com>
    
    (cherry picked from commit c1f6ec77b539b1ae3aa3767acdee013e3a5b545d)

 cogl/cogl-texture-2d-sliced.h |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/cogl/cogl-texture-2d-sliced.h b/cogl/cogl-texture-2d-sliced.h
index 6041846..f6fdc97 100644
--- a/cogl/cogl-texture-2d-sliced.h
+++ b/cogl/cogl-texture-2d-sliced.h
@@ -100,7 +100,7 @@ typedef struct _CoglTexture2DSliced CoglTexture2DSliced;
  * is larger than is supported by the hardware but slicing is disabled
  * the texture size would be too large to handle.</note>
  *
- * Returns: A new #CoglTexture2DSliced object with no storage
+ * Returns: (transfer full): A new #CoglTexture2DSliced object with no storage
  *          allocated yet.
  *
  * Since: 1.10
@@ -153,8 +153,8 @@ cogl_texture_2d_sliced_new_with_size (CoglContext *ctx,
  * larger than is supported by the hardware but slicing is disabled
  * the texture size would be too large to handle.</note>
  *
- * Return value: A newly created #CoglTexture2DSliced or %NULL on
- *               failure and @error will be updated.
+ * Return value: (transfer full): A newly created #CoglTexture2DSliced
+ *               or %NULL on failure and @error will be updated.
  *
  * Since: 1.16
  */
@@ -212,8 +212,8 @@ cogl_texture_2d_sliced_new_from_file (CoglContext *ctx,
  * larger than is supported by the hardware but slicing is disabled
  * the texture size would be too large to handle.</note>
  *
- * Return value: A newly created #CoglTexture2DSliced or %NULL on
- *               failure and @error will be updated.
+ * Return value: (transfer full): A newly created #CoglTexture2DSliced
+ *               or %NULL on failure and @error will be updated.
  *
  * Since: 1.16
  */
@@ -268,8 +268,8 @@ cogl_texture_2d_sliced_new_from_data (CoglContext *ctx,
  * larger than is supported by the hardware but slicing is disabled
  * the texture size would be too large to handle.</note>
  *
- * Return value: A newly created #CoglTexture2DSliced or %NULL on
- *               failure and @error will be updated.
+ * Return value: (transfer full): A newly created #CoglTexture2DSliced
+ *               or %NULL on failure and @error will be updated.
  *
  * Since: 1.16
  */


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