mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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.
This commit is contained in:
parent
15441bb280
commit
d509455de0
@ -4724,8 +4724,8 @@ clutter_text_set_use_markup_internal (ClutterText *self,
|
|||||||
/**
|
/**
|
||||||
* clutter_text_set_text:
|
* clutter_text_set_text:
|
||||||
* @self: a #ClutterText
|
* @self: a #ClutterText
|
||||||
* @text: the text to set. Passing %NULL is the same as passing "" (the
|
* @text: (allow-none): the text to set. Passing %NULL is the same
|
||||||
* empty string)
|
* as passing "" (the empty string)
|
||||||
*
|
*
|
||||||
* Sets the contents of a #ClutterText actor.
|
* Sets the contents of a #ClutterText actor.
|
||||||
*
|
*
|
||||||
@ -4749,8 +4749,8 @@ clutter_text_set_text (ClutterText *self,
|
|||||||
/**
|
/**
|
||||||
* clutter_text_set_markup:
|
* clutter_text_set_markup:
|
||||||
* @self: a #ClutterText
|
* @self: a #ClutterText
|
||||||
* @markup: a string containing Pango markup. Passing %NULL is the same
|
* @markup: (allow-none): a string containing Pango markup.
|
||||||
* as passing "" (the empty string)
|
* Passing %NULL is the same as passing "" (the empty string)
|
||||||
*
|
*
|
||||||
* Sets @markup as the contents of a #ClutterText.
|
* Sets @markup as the contents of a #ClutterText.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user