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/gtkrecentmanager.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/gtkrecentmanager.c')
-rw-r--r-- | gtk/gtkrecentmanager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c index 3fd7d34fee..4181d4a0e2 100644 --- a/gtk/gtkrecentmanager.c +++ b/gtk/gtkrecentmanager.c @@ -986,7 +986,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager, * gtk_recent_manager_remove_item: * @manager: a #GtkRecentManager * @uri: the URI of the item you wish to remove - * @error: return location for a #GError, or %NULL + * @error: (allow-none): return location for a #GError, or %NULL * * Removes a resource pointed by @uri from the recently used resources * list handled by a recent manager. @@ -1135,7 +1135,7 @@ build_recent_info (GBookmarkFile *bookmarks, * gtk_recent_manager_lookup_item: * @manager: a #GtkRecentManager * @uri: a URI - * @error: a return location for a #GError, or %NULL + * @error: (allow-none): a return location for a #GError, or %NULL * * Searches for a URI inside the recently used resources list, and * returns a structure containing informations about the resource @@ -1198,9 +1198,9 @@ gtk_recent_manager_lookup_item (GtkRecentManager *manager, * gtk_recent_manager_move_item: * @manager: a #GtkRecentManager * @uri: the URI of a recently used resource - * @new_uri: the new URI of the recently used resource, or %NULL to + * @new_uri: (allow-none): the new URI of the recently used resource, or %NULL to * remove the item pointed by @uri in the list - * @error: a return location for a #GError, or %NULL + * @error: (allow-none): a return location for a #GError, or %NULL * * Changes the location of a recently used resource from @uri to @new_uri. * @@ -1339,7 +1339,7 @@ purge_recent_items_list (GtkRecentManager *manager, /** * gtk_recent_manager_purge_items: * @manager: a #GtkRecentManager - * @error: a return location for a #GError, or %NULL + * @error: (allow-none): a return location for a #GError, or %NULL * * Purges every item from the recently used resources list. * |