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/gtktreesortable.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/gtktreesortable.c')
-rw-r--r-- | gtk/gtktreesortable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktreesortable.c b/gtk/gtktreesortable.c index d6cd4e2d1e..b98b8eeb77 100644 --- a/gtk/gtktreesortable.c +++ b/gtk/gtktreesortable.c @@ -170,8 +170,8 @@ gtk_tree_sortable_set_sort_column_id (GtkTreeSortable *sortable, * @sortable: A #GtkTreeSortable * @sort_column_id: the sort column id to set the function for * @sort_func: The comparison function - * @user_data: User data to pass to @sort_func, or %NULL - * @destroy: Destroy notifier of @user_data, or %NULL + * @user_data: (allow-none): User data to pass to @sort_func, or %NULL + * @destroy: (allow-none): Destroy notifier of @user_data, or %NULL * * Sets the comparison function used when sorting to be @sort_func. If the * current sort column id of @sortable is the same as @sort_column_id, then @@ -202,8 +202,8 @@ gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable, * gtk_tree_sortable_set_default_sort_func: * @sortable: A #GtkTreeSortable * @sort_func: The comparison function - * @user_data: User data to pass to @sort_func, or %NULL - * @destroy: Destroy notifier of @user_data, or %NULL + * @user_data: (allow-none): User data to pass to @sort_func, or %NULL + * @destroy: (allow-none): Destroy notifier of @user_data, or %NULL * * Sets the default comparison function used when sorting to be @sort_func. * If the current sort column id of @sortable is |