mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
annotations: Use caller-allocates for color getters
This should avoid a separate initialization of a ClutterColor in language bindings.
This commit is contained in:
parent
9e17d06bc7
commit
bdb309cbd6
@ -978,7 +978,7 @@ clutter_box_set_color (ClutterBox *box,
|
|||||||
/**
|
/**
|
||||||
* clutter_box_get_color:
|
* clutter_box_get_color:
|
||||||
* @box: a #ClutterBox
|
* @box: a #ClutterBox
|
||||||
* @color: (out): return location for a #ClutterColor
|
* @color: (out caller-allocates): return location for a #ClutterColor
|
||||||
*
|
*
|
||||||
* Retrieves the background color of @box
|
* Retrieves the background color of @box
|
||||||
*
|
*
|
||||||
|
@ -365,7 +365,7 @@ clutter_colorize_effect_set_tint (ClutterColorizeEffect *effect,
|
|||||||
/**
|
/**
|
||||||
* clutter_colorize_effect_get_tint:
|
* clutter_colorize_effect_get_tint:
|
||||||
* @effect: a #ClutterColorizeEffect
|
* @effect: a #ClutterColorizeEffect
|
||||||
* @tint: (out): return location for the color used
|
* @tint: (out caller-allocates): return location for the color used
|
||||||
*
|
*
|
||||||
* Retrieves the tint used by @effect
|
* Retrieves the tint used by @effect
|
||||||
*
|
*
|
||||||
|
@ -356,7 +356,7 @@ clutter_rectangle_new_with_color (const ClutterColor *color)
|
|||||||
/**
|
/**
|
||||||
* clutter_rectangle_get_color:
|
* clutter_rectangle_get_color:
|
||||||
* @rectangle: a #ClutterRectangle
|
* @rectangle: a #ClutterRectangle
|
||||||
* @color: (out): return location for a #ClutterColor
|
* @color: (out caller-allocates): return location for a #ClutterColor
|
||||||
*
|
*
|
||||||
* Retrieves the color of @rectangle.
|
* Retrieves the color of @rectangle.
|
||||||
*/
|
*/
|
||||||
@ -476,7 +476,7 @@ clutter_rectangle_set_border_width (ClutterRectangle *rectangle,
|
|||||||
/**
|
/**
|
||||||
* clutter_rectangle_get_border_color:
|
* clutter_rectangle_get_border_color:
|
||||||
* @rectangle: a #ClutterRectangle
|
* @rectangle: a #ClutterRectangle
|
||||||
* @color: (out): return location for a #ClutterColor
|
* @color: (out caller-allocates): return location for a #ClutterColor
|
||||||
*
|
*
|
||||||
* Gets the color of the border used by @rectangle and places
|
* Gets the color of the border used by @rectangle and places
|
||||||
* it into @color.
|
* it into @color.
|
||||||
|
@ -1685,7 +1685,7 @@ clutter_stage_set_color (ClutterStage *stage,
|
|||||||
/**
|
/**
|
||||||
* clutter_stage_get_color:
|
* clutter_stage_get_color:
|
||||||
* @stage: A #ClutterStage
|
* @stage: A #ClutterStage
|
||||||
* @color: (out): return location for a #ClutterColor
|
* @color: (out caller-allocates): return location for a #ClutterColor
|
||||||
*
|
*
|
||||||
* Retrieves the stage color.
|
* Retrieves the stage color.
|
||||||
*/
|
*/
|
||||||
|
@ -3782,7 +3782,7 @@ clutter_text_set_selection_color (ClutterText *self,
|
|||||||
/**
|
/**
|
||||||
* clutter_text_get_selection_color:
|
* clutter_text_get_selection_color:
|
||||||
* @self: a #ClutterText
|
* @self: a #ClutterText
|
||||||
* @color: return location for a #ClutterColor
|
* @color: (out caller-allocates): return location for a #ClutterColor
|
||||||
*
|
*
|
||||||
* Retrieves the color of the selection of a #ClutterText actor.
|
* Retrieves the color of the selection of a #ClutterText actor.
|
||||||
*
|
*
|
||||||
@ -4126,7 +4126,7 @@ clutter_text_set_color (ClutterText *self,
|
|||||||
/**
|
/**
|
||||||
* clutter_text_get_color:
|
* clutter_text_get_color:
|
||||||
* @self: a #ClutterText
|
* @self: a #ClutterText
|
||||||
* @color: (out): return location for a #ClutterColor
|
* @color: (out caller-allocates): return location for a #ClutterColor
|
||||||
*
|
*
|
||||||
* Retrieves the text color as set by clutter_text_set_color().
|
* Retrieves the text color as set by clutter_text_set_color().
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user