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/gtktoolbar.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/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index f383ff539f..87e875486f 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -3595,7 +3595,7 @@ gtk_toolbar_insert_widget (GtkToolbar *toolbar, * gtk_toolbar_append_element: * @toolbar: a #GtkToolbar. * @type: a value of type #GtkToolbarChildType that determines what @widget will be. - * @widget: a #GtkWidget, or %NULL. + * @widget: (allow-none): a #GtkWidget, or %NULL. * @text: the element's label. * @tooltip_text: the element's tooltip. * @tooltip_private_text: used for context-sensitive help about this toolbar element. @@ -3638,7 +3638,7 @@ gtk_toolbar_append_element (GtkToolbar *toolbar, * gtk_toolbar_prepend_element: * @toolbar: a #GtkToolbar. * @type: a value of type #GtkToolbarChildType that determines what @widget will be. - * @widget: a #GtkWidget, or %NULL + * @widget: (allow-none): a #GtkWidget, or %NULL * @text: the element's label. * @tooltip_text: the element's tooltip. * @tooltip_private_text: used for context-sensitive help about this toolbar element. @@ -3681,7 +3681,7 @@ gtk_toolbar_prepend_element (GtkToolbar *toolbar, * @toolbar: a #GtkToolbar. * @type: a value of type #GtkToolbarChildType that determines what @widget * will be. - * @widget: a #GtkWidget, or %NULL. + * @widget: (allow-none): a #GtkWidget, or %NULL. * @text: the element's label. * @tooltip_text: the element's tooltip. * @tooltip_private_text: used for context-sensitive help about this toolbar element. |