summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooser.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/gtkrecentchooser.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/gtkrecentchooser.c')
-rw-r--r--gtk/gtkrecentchooser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c
index a69b1c21fb..bb84ef5e07 100644
--- a/gtk/gtkrecentchooser.c
+++ b/gtk/gtkrecentchooser.c
@@ -717,8 +717,8 @@ gtk_recent_chooser_get_sort_type (GtkRecentChooser *chooser)
* gtk_recent_chooser_set_sort_func:
* @chooser: a #GtkRecentChooser
* @sort_func: the comparison function
- * @sort_data: user data to pass to @sort_func, or %NULL
- * @data_destroy: destroy notifier for @sort_data, or %NULL
+ * @sort_data: (allow-none): user data to pass to @sort_func, or %NULL
+ * @data_destroy: (allow-none): destroy notifier for @sort_data, or %NULL
*
* Sets the comparison function used when sorting to be @sort_func. If
* the @chooser has the sort type set to #GTK_RECENT_SORT_CUSTOM then
@@ -749,7 +749,7 @@ gtk_recent_chooser_set_sort_func (GtkRecentChooser *chooser,
* gtk_recent_chooser_set_current_uri:
* @chooser: a #GtkRecentChooser
* @uri: a URI
- * @error: return location for a #GError, or %NULL
+ * @error: (allow-none): return location for a #GError, or %NULL
*
* Sets @uri as the current URI for @chooser.
*
@@ -820,7 +820,7 @@ gtk_recent_chooser_get_current_item (GtkRecentChooser *chooser)
* gtk_recent_chooser_select_uri:
* @chooser: a #GtkRecentChooser
* @uri: a URI
- * @error: return location for a #GError, or %NULL
+ * @error: (allow-none): return location for a #GError, or %NULL
*
* Selects @uri inside @chooser.
*
@@ -916,7 +916,7 @@ gtk_recent_chooser_get_items (GtkRecentChooser *chooser)
/**
* gtk_recent_chooser_get_uris:
* @chooser: a #GtkRecentChooser
- * @length: return location for a the length of the URI list, or %NULL
+ * @length: (allow-none): return location for a the length of the URI list, or %NULL
*
* Gets the URI of the recently used resources.
*