summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-03-22 12:42:13 +0100
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-03-22 12:42:13 +0100
commitae7b19c760912415c5e0d1cf36c6d180aad7b8bd (patch)
treec178adb9e983c5b4f5643e32c7d35559215c42c3
parent157218c507eda96c7981dfb5e2206d0ca8ece1fe (diff)
downloadgtk+-ae7b19c760912415c5e0d1cf36c6d180aad7b8bd.tar.gz
gtk: add missing nullable annotations to BoolFilter
-rw-r--r--gtk/gtkboolfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkboolfilter.c b/gtk/gtkboolfilter.c
index 12c2486d1c..52f917186b 100644
--- a/gtk/gtkboolfilter.c
+++ b/gtk/gtkboolfilter.c
@@ -214,7 +214,7 @@ gtk_bool_filter_new (GtkExpression *expression)
* Gets the expression that the filter uses to evaluate if
* an item should be filtered.
*
- * Returns: (transfer none): a `GtkExpression`
+ * Returns: (transfer none) (nullable): a `GtkExpression`
*/
GtkExpression *
gtk_bool_filter_get_expression (GtkBoolFilter *self)
@@ -227,7 +227,7 @@ gtk_bool_filter_get_expression (GtkBoolFilter *self)
/**
* gtk_bool_filter_set_expression: (attributes org.gtk.Method.set_property=expression)
* @self: a `GtkBoolFilter`
- * @expression: a `GtkExpression`
+ * @expression: (nullable): a `GtkExpression`
*
* Sets the expression that the filter uses to check if items
* should be filtered.