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/gtktoggleaction.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/gtktoggleaction.c')
-rw-r--r-- | gtk/gtktoggleaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktoggleaction.c b/gtk/gtktoggleaction.c index 42217fc920..6e464d72e9 100644 --- a/gtk/gtktoggleaction.c +++ b/gtk/gtktoggleaction.c @@ -144,8 +144,8 @@ gtk_toggle_action_init (GtkToggleAction *action) /** * gtk_toggle_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 * |