[gnome-shell] StThemeNode: Add (out caller-annotates) annotations



commit 69d25c975c20725aedf1f10b293d5dadc845cdf0
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sat Feb 12 15:22:33 2011 -0500

    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

 src/st/st-theme-node.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c
index 140d5d1..5475bbc 100644
--- a/src/st/st-theme-node.c
+++ b/src/st/st-theme-node.c
@@ -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.



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