[clutter] text: Add missing introspection annotations



commit 1f7ff75a5c5824483b4072f285a52c64f3d9958b
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 2dd12ea..0d58d3a 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]