summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-02-19 14:53:17 -0200
committerJohan Dahlin <johan@gnome.org>2010-02-19 17:57:51 -0200
commitfe852721123fb7dc5749c690613ca6e209363e2f (patch)
tree62ac68aab7296dbea80b199a0e1769ba5621514a /gtk/gtkaction.c
parent347d406f80f2140a466da30764171cd92aa7d7ea (diff)
downloadgtk+-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/gtkaction.c')
-rw-r--r--gtk/gtkaction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c
index 40cf10f15a..6c552cc4ae 100644
--- a/gtk/gtkaction.c
+++ b/gtk/gtkaction.c
@@ -463,8 +463,8 @@ gtk_action_buildable_get_name (GtkBuildable *buildable)
/**
* gtk_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
*
@@ -698,7 +698,7 @@ disconnect_proxy (GtkAction *action,
/**
* _gtk_action_sync_menu_visible:
- * @action: a #GtkAction, or %NULL to determine the action from @proxy
+ * @action: (allow-none): a #GtkAction, or %NULL to determine the action from @proxy
* @proxy: a proxy menu item
* @empty: whether the submenu attached to @proxy is empty
*