StThemeNode: Add (out caller-annotates) annotations

Mark the ClutterActorBox return for a number of functions so we can use
them from Javascript.

https://bugzilla.gnome.org/show_bug.cgi?id=642192
This commit is contained in:
Owen W. Taylor 2011-02-12 15:22:33 -05:00
parent 64c4bb86c6
commit 69d25c975c

View File

@ -3184,7 +3184,7 @@ st_theme_node_adjust_preferred_height (StThemeNode *node,
* st_theme_node_get_content_box:
* @node: a #StThemeNode
* @allocation: the box allocated to a #ClutterAlctor
* @content_box: (out): computed box occupied by the actor's content
* @content_box: (out caller-allocates): computed box occupied by the actor's content
*
* Gets the box within an actor's allocation that contents the content
* of an actor (excluding borders and padding). This is a convenience function
@ -3229,7 +3229,7 @@ st_theme_node_get_content_box (StThemeNode *node,
* st_theme_node_get_background_paint_box:
* @node: a #StThemeNode
* @allocation: the box allocated to a #ClutterActor
* @paint_box: computed box occupied when painting the actor's background
* @paint_box: (out caller-allocates): computed box occupied when painting the actor's background
*
* Gets the box used to paint the actor's background, including the area
* occupied by properties which paint outside the actor's assigned allocation.
@ -3265,7 +3265,7 @@ st_theme_node_get_background_paint_box (StThemeNode *node,
* st_theme_node_get_paint_box:
* @node: a #StThemeNode
* @allocation: the box allocated to a #ClutterActor
* @paint_box: computed box occupied when painting the actor
* @paint_box: (out caller-allocates): computed box occupied when painting the actor
*
* Gets the box used to paint the actor, including the area occupied
* by properties which paint outside the actor's assigned allocation.