diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 20:45:06 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 20:45:06 -0400 |
commit | 4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5 (patch) | |
tree | e4157e70d282f7e8edac07406c67bb051334d7c7 /gtk/gtkmaplistmodel.c | |
parent | 7fe0610b681c96823c45b88ca2c9657f1320bef8 (diff) | |
download | gtk+-4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5.tar.gz |
docs: Reduce redundancy
Remove a boatload of "or %NULL" from nullable parameters
and return values. gi-docgen generates suitable text from
the annotation that we don't need to duplicate.
This adds a few missing nullable annotations too.
Diffstat (limited to 'gtk/gtkmaplistmodel.c')
-rw-r--r-- | gtk/gtkmaplistmodel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkmaplistmodel.c b/gtk/gtkmaplistmodel.c index 553a53ee9d..72dea55616 100644 --- a/gtk/gtkmaplistmodel.c +++ b/gtk/gtkmaplistmodel.c @@ -410,8 +410,8 @@ gtk_map_list_model_augment (GtkRbTree *map, /** * gtk_map_list_model_new: - * @model: (transfer full) (nullable): The model to map or %NULL for none - * @map_func: (nullable): map function or %NULL to not map items + * @model: (transfer full) (nullable): The model to map + * @map_func: (nullable): map function * @user_data: (closure): user data passed to @map_func * @user_destroy: destroy notifier for @user_data * @@ -488,7 +488,7 @@ gtk_map_list_model_init_items (GtkMapListModel *self) /** * gtk_map_list_model_set_map_func: * @self: a `GtkMapListModel` - * @map_func: (nullable): map function or %NULL to not map items + * @map_func: (nullable): map function * @user_data: (closure): user data passed to @map_func * @user_destroy: destroy notifier for @user_data * |