[clutter] text: Fix annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] text: Fix annotations
- Date: Tue, 7 Feb 2012 12:06:13 +0000 (UTC)
commit d509455de0f95fc804eb91776ec9e051df7cbca5
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Tue Feb 7 11:33:12 2012 +0000
text: Fix annotations
Both set_text() and set_markup() have relaxed their preconditions on a
non-NULL string as their argument, so we need to update the annotations.
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 323f0b1..0d18aef 100644
--- a/clutter/clutter-text.c
+++ b/clutter/clutter-text.c
@@ -4724,8 +4724,8 @@ clutter_text_set_use_markup_internal (ClutterText *self,
/**
* clutter_text_set_text:
* @self: a #ClutterText
- * @text: the text to set. Passing %NULL is the same as passing "" (the
- * empty string)
+ * @text: (allow-none): the text to set. Passing %NULL is the same
+ * as passing "" (the empty string)
*
* Sets the contents of a #ClutterText actor.
*
@@ -4749,8 +4749,8 @@ clutter_text_set_text (ClutterText *self,
/**
* clutter_text_set_markup:
* @self: a #ClutterText
- * @markup: a string containing Pango markup. Passing %NULL is the same
- * as passing "" (the empty string)
+ * @markup: (allow-none): a string containing Pango markup.
+ * Passing %NULL is the same as passing "" (the empty string)
*
* Sets @markup as the contents of a #ClutterText.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]