summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.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/gtktextbuffer.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/gtktextbuffer.c')
-rw-r--r--gtk/gtktextbuffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index e223d92527..97abf9a26d 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -735,7 +735,7 @@ gtk_text_buffer_notify (GObject *object,
/**
* gtk_text_buffer_new:
- * @table: a tag table, or %NULL to create a new one
+ * @table: (allow-none): a tag table, or %NULL to create a new one
*
* Creates a new text buffer.
*
@@ -2429,8 +2429,8 @@ gtk_text_buffer_select_range (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_create_tag:
* @buffer: a #GtkTextBuffer
- * @tag_name: name of the new tag, or %NULL
- * @first_property_name: name of first property to set, or %NULL
+ * @tag_name: (allow-none): name of the new tag, or %NULL
+ * @first_property_name: (allow-none): name of first property to set, or %NULL
* @Varargs: %NULL-terminated list of property names and values
*
*