From b7c60b02d13211ffe747bfd6976905d524cd1d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 27 Feb 2010 15:46:41 +0100 Subject: [PATCH] [StEntry] Add annotations All setters in StEntry allow to pass NULL - add appropriate annotations. --- src/st/st-entry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/st/st-entry.c b/src/st/st-entry.c index ac79f4e93..6cb3cbfc8 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -707,7 +707,7 @@ st_entry_get_text (StEntry *entry) /** * st_entry_set_text: * @entry: a #StEntry - * @text: text to set the entry to + * @text: (allow-none): text to set the entry to * * Sets the text displayed on the entry */ @@ -762,7 +762,7 @@ st_entry_get_clutter_text (StEntry *entry) /** * st_entry_set_hint_text: * @entry: a #StEntry - * @text: text to set as the entry hint + * @text: (allow-none): text to set as the entry hint * * Sets the text to display when the entry is empty and unfocused. When the * entry is displaying the hint, it has a pseudo class of "indeterminate". @@ -858,7 +858,7 @@ _st_entry_set_icon_from_file (StEntry *entry, /** * st_entry_set_primary_icon_from_file: * @entry: a #StEntry - * @filename: filename of an icon + * @filename: (allow-none): filename of an icon * * Set the primary icon of the entry to the given filename */ @@ -879,7 +879,7 @@ st_entry_set_primary_icon_from_file (StEntry *entry, /** * st_entry_set_secondary_icon_from_file: * @entry: a #StEntry - * @filename: filename of an icon + * @filename: (allow-none): filename of an icon * * Set the primary icon of the entry to the given filename */