summaryrefslogtreecommitdiff
path: root/gtk/gtkbuildable.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/gtkbuildable.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/gtkbuildable.c')
-rw-r--r--gtk/gtkbuildable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkbuildable.c b/gtk/gtkbuildable.c
index 46137f07a2..d3a8d8e442 100644
--- a/gtk/gtkbuildable.c
+++ b/gtk/gtkbuildable.c
@@ -103,7 +103,7 @@ gtk_buildable_get_name (GtkBuildable *buildable)
* @buildable: a #GtkBuildable
* @builder: a #GtkBuilder
* @child: child to add
- * @type: kind of child or %NULL
+ * @type: (allow-none): kind of child or %NULL
*
* Adds a child to @buildable. @type is an optional string
* describing how the child should be added.
@@ -221,7 +221,7 @@ gtk_buildable_construct_child (GtkBuildable *buildable,
* gtk_buildable_custom_tag_start:
* @buildable: a #GtkBuildable
* @builder: a #GtkBuilder used to construct this object
- * @child: child object or %NULL for non-child tags
+ * @child: (allow-none): child object or %NULL for non-child tags
* @tagname: name of tag
* @parser: a #GMarkupParser structure to fill in
* @data: return location for user data that will be passed in
@@ -259,7 +259,7 @@ gtk_buildable_custom_tag_start (GtkBuildable *buildable,
* gtk_buildable_custom_tag_end:
* @buildable: A #GtkBuildable
* @builder: #GtkBuilder used to construct this object
- * @child: child object or %NULL for non-child tags
+ * @child: (allow-none): child object or %NULL for non-child tags
* @tagname: name of tag
* @data: user data that will be passed in to parser functions
*
@@ -290,7 +290,7 @@ gtk_buildable_custom_tag_end (GtkBuildable *buildable,
* gtk_buildable_custom_finished:
* @buildable: a #GtkBuildable
* @builder: a #GtkBuilder
- * @child: child object or %NULL for non-child tags
+ * @child: (allow-none): child object or %NULL for non-child tags
* @tagname: the name of the tag
* @data: user data created in custom_tag_start
*