[cogl/cogl-1.16] pipeline: add missing transfer annotations



commit 44f17fbd8d178c6e34f131398b3b9cdb59edab49
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 14:23:32 2013 +0100

    pipeline: add missing transfer annotations
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 cogl/cogl-pipeline-layer-state.h |    4 ++--
 cogl/cogl-pipeline-state.h       |    2 +-
 cogl/cogl-pipeline.h             |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/cogl/cogl-pipeline-layer-state.h b/cogl/cogl-pipeline-layer-state.h
index 6437ee0..c75a748 100644
--- a/cogl/cogl-pipeline-layer-state.h
+++ b/cogl/cogl-pipeline-layer-state.h
@@ -179,8 +179,8 @@ cogl_pipeline_set_layer_null_texture (CoglPipeline *pipeline,
  * @pipeline: A #CoglPipeline object
  * @layer_index: the index of the layer
  *
- * Return value: the texture that was set for the given layer of the
- *   pipeline or %NULL if no texture was set.
+ * Return value: (transfer none): the texture that was set for the
+ *   given layer of the pipeline or %NULL if no texture was set.
  * Stability: unstable
  * Since: 1.10
  */
diff --git a/cogl/cogl-pipeline-state.h b/cogl/cogl-pipeline-state.h
index a3d6dd8..8ffbc19 100644
--- a/cogl/cogl-pipeline-state.h
+++ b/cogl/cogl-pipeline-state.h
@@ -604,7 +604,7 @@ cogl_pipeline_set_color_mask (CoglPipeline *pipeline,
  * Queries what user program has been associated with the given
  * @pipeline using cogl_pipeline_set_user_program().
  *
- * Return value: The current user program or %COGL_INVALID_HANDLE.
+ * Return value: (transfer none): The current user program or %COGL_INVALID_HANDLE.
  *
  * Since: 2.0
  * Stability: Unstable
diff --git a/cogl/cogl-pipeline.h b/cogl/cogl-pipeline.h
index 0ca53df..d6bf00c 100644
--- a/cogl/cogl-pipeline.h
+++ b/cogl/cogl-pipeline.h
@@ -64,7 +64,7 @@ COGL_BEGIN_DECLS
  * Allocates and initializes a default simple pipeline that will color
  * a primitive white.
  *
- * Return value: a pointer to a new #CoglPipeline
+ * Return value: (transfer full): a pointer to a new #CoglPipeline
  *
  * Since: 2.0
  * Stability: Unstable
@@ -85,7 +85,7 @@ cogl_pipeline_new (CoglContext *context);
  * keep track of a pipelines ancestry which we may use to help minimize GPU
  * state changes.
  *
- * Returns: a pointer to the newly allocated #CoglPipeline
+ * Return value: (transfer full): a pointer to the newly allocated #CoglPipeline
  *
  * Since: 2.0
  * Stability: Unstable


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