diff options
author | Johan Dahlin <johan@gnome.org> | 2010-02-19 14:53:17 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-02-19 17:57:51 -0200 |
commit | fe852721123fb7dc5749c690613ca6e209363e2f (patch) | |
tree | 62ac68aab7296dbea80b199a0e1769ba5621514a /gtk/gtkrecentaction.c | |
parent | 347d406f80f2140a466da30764171cd92aa7d7ea (diff) | |
download | gtk+-fe852721123fb7dc5749c690613ca6e209363e2f.tar.gz |
[annotations] Add allow-none
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
Diffstat (limited to 'gtk/gtkrecentaction.c')
-rw-r--r-- | gtk/gtkrecentaction.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkrecentaction.c b/gtk/gtkrecentaction.c index bf5c6d081e..14acfb426a 100644 --- a/gtk/gtkrecentaction.c +++ b/gtk/gtkrecentaction.c @@ -649,8 +649,8 @@ gtk_recent_action_init (GtkRecentAction *action) /** * gtk_recent_action_new: * @name: a unique name for the action - * @label: the label displayed in menu items and on buttons, or %NULL - * @tooltip: a tooltip for the action, or %NULL + * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL + * @tooltip: (allow-none): a tooltip for the action, or %NULL * @stock_id: the stock icon to display in widgets representing the * action, or %NULL * @@ -681,11 +681,11 @@ gtk_recent_action_new (const gchar *name, /** * gtk_recent_action_new_for_manager: * @name: a unique name for the action - * @label: the label displayed in menu items and on buttons, or %NULL - * @tooltip: a tooltip for the action, or %NULL + * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL + * @tooltip: (allow-none): a tooltip for the action, or %NULL * @stock_id: the stock icon to display in widgets representing the * action, or %NULL - * @manager: a #GtkRecentManager, or %NULL for using the default + * @manager: (allow-none): a #GtkRecentManager, or %NULL for using the default * #GtkRecentManager * * Creates a new #GtkRecentAction object. To add the action to |