summaryrefslogtreecommitdiff
path: root/gtk/gtkflowbox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-19 07:24:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 19:17:49 -0400
commit7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch)
tree41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gtk/gtkflowbox.c
parent8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff)
downloadgtk+-7fe0610b681c96823c45b88ca2c9657f1320bef8.tar.gz
introspection: Stop using allow-none
allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
Diffstat (limited to 'gtk/gtkflowbox.c')
-rw-r--r--gtk/gtkflowbox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index b85824cea0..76b8657502 100644
--- a/gtk/gtkflowbox.c
+++ b/gtk/gtkflowbox.c
@@ -591,7 +591,7 @@ gtk_flow_box_child_new (void)
/**
* gtk_flow_box_child_set_child: (attributes org.gtk.Method.set_property=child)
* @self: a `GtkFlowBoxChild`
- * @child: (allow-none): the child widget
+ * @child: (nullable): the child widget
*
* Sets the child widget of @self.
*/
@@ -4263,7 +4263,7 @@ gtk_flow_box_check_model_compat (GtkFlowBox *box)
/**
* gtk_flow_box_bind_model:
* @box: a `GtkFlowBox`
- * @model: (allow-none): the `GListModel` to be bound to @box
+ * @model: (nullable): the `GListModel` to be bound to @box
* @create_widget_func: a function that creates widgets for items
* @user_data: (closure): user data passed to @create_widget_func
* @user_data_free_func: function for freeing @user_data
@@ -4805,7 +4805,7 @@ gtk_flow_box_get_selection_mode (GtkFlowBox *box)
/**
* gtk_flow_box_set_filter_func:
* @box: a `GtkFlowBox`
- * @filter_func: (allow-none): callback that
+ * @filter_func: (nullable): callback that
* lets you filter which children to show
* @user_data: (closure): user data passed to @filter_func
* @destroy: destroy notifier for @user_data
@@ -4887,7 +4887,7 @@ gtk_flow_box_invalidate_filter (GtkFlowBox *box)
/**
* gtk_flow_box_set_sort_func:
* @box: a `GtkFlowBox`
- * @sort_func: (allow-none): the sort function
+ * @sort_func: (nullable): the sort function
* @user_data: (closure): user data passed to @sort_func
* @destroy: destroy notifier for @user_data
*