From 5d8b6aa6fa2c51b72079d52766e5013ff612af19 Mon Sep 17 00:00:00 2001 From: Bastian Winkler Date: Fri, 14 Jan 2011 14:53:05 +0100 Subject: [PATCH] introspection: Add missing (out) annotations for get_color() Some actors are missing the (out) annotations for the get_color() methods. http://bugzilla.clutter-project.org/show_bug.cgi?id=2518 --- clutter/clutter-rectangle.c | 4 ++-- clutter/clutter-stage.c | 2 +- clutter/clutter-text.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clutter/clutter-rectangle.c b/clutter/clutter-rectangle.c index 1bcab56..110d5f8 100644 --- a/clutter/clutter-rectangle.c +++ b/clutter/clutter-rectangle.c @@ -356,7 +356,7 @@ clutter_rectangle_new_with_color (const ClutterColor *color) /** * clutter_rectangle_get_color: * @rectangle: a #ClutterRectangle - * @color: return location for a #ClutterColor + * @color: (out): return location for a #ClutterColor * * Retrieves the color of @rectangle. */ @@ -476,7 +476,7 @@ clutter_rectangle_set_border_width (ClutterRectangle *rectangle, /** * clutter_rectangle_get_border_color: * @rectangle: a #ClutterRectangle - * @color: return location for a #ClutterColor + * @color: (out): return location for a #ClutterColor * * Gets the color of the border used by @rectangle and places * it into @color. diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index d27c033..21dc982 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -1690,7 +1690,7 @@ clutter_stage_set_color (ClutterStage *stage, /** * clutter_stage_get_color: * @stage: A #ClutterStage - * @color: return location for a #ClutterColor + * @color: (out): return location for a #ClutterColor * * Retrieves the stage color. */ diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 2fff78a..445aec0 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -4122,7 +4122,7 @@ clutter_text_set_color (ClutterText *self, /** * clutter_text_get_color: * @self: a #ClutterText - * @color: return location for a #ClutterColor + * @color: (out): return location for a #ClutterColor * * Retrieves the text color as set by clutter_text_set_color(). * -- 2.7.4