From 44f17fbd8d178c6e34f131398b3b9cdb59edab49 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 3 Sep 2013 14:23:32 +0100 Subject: [PATCH] pipeline: add missing transfer annotations Reviewed-by: Robert Bragg --- 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 6437ee00b..c75a748f3 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 a3d6dd83e..8ffbc19ab 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 0ca53df16..d6bf00c8e 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