[clutter/clutter-1.10] text: Add missing introspection annotations



commit df18b3cd45baf216c79aaf28c648fb4a0eaa89ca
Author: Bastian Winkler <buz netbuz org>
Date:   Tue May 15 01:44:51 2012 +0200

    text: Add missing introspection annotations
    
    Add allow-none annotations where appropriate

 clutter/clutter-text.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index ea05aa6..9917214 100644
--- a/clutter/clutter-text.c
+++ b/clutter/clutter-text.c
@@ -4225,7 +4225,7 @@ clutter_text_get_cursor_visible (ClutterText *self)
 /**
  * clutter_text_set_cursor_color:
  * @self: a #ClutterText
- * @color: the color of the cursor, or %NULL to unset it
+ * @color: (allow-none): the color of the cursor, or %NULL to unset it
  *
  * Sets the color of the cursor of a #ClutterText actor.
  *
@@ -4423,7 +4423,7 @@ clutter_text_get_selection_bound (ClutterText *self)
 /**
  * clutter_text_set_selection_color:
  * @self: a #ClutterText
- * @color: the color of the selection, or %NULL to unset it
+ * @color: (allow-none): the color of the selection, or %NULL to unset it
  *
  * Sets the color of the selection of a #ClutterText actor.
  *
@@ -4483,7 +4483,7 @@ clutter_text_get_selection_color (ClutterText  *self,
 /**
  * clutter_text_set_selected_text_color:
  * @self: a #ClutterText
- * @color: the selected text color, or %NULL to unset it
+ * @color: (allow-none): the selected text color, or %NULL to unset it
  *
  * Sets the selected text color of a #ClutterText actor.
  *
@@ -5049,7 +5049,7 @@ clutter_text_get_line_wrap_mode (ClutterText *self)
 /**
  * clutter_text_set_attributes:
  * @self: a #ClutterText
- * @attrs: a #PangoAttrList or %NULL to unset the attributes
+ * @attrs: (allow-none): a #PangoAttrList or %NULL to unset the attributes
  *
  * Sets the attributes list that are going to be applied to the
  * #ClutterText contents.



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