[gtk/bilelmoussaoui/expressions-annotations: 1/2] gtk: add missing nullable annotations to BoolFilter




commit ae7b19c760912415c5e0d1cf36c6d180aad7b8bd
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Mon Mar 22 12:42:13 2021 +0100

    gtk: add missing nullable annotations to BoolFilter

 gtk/gtkboolfilter.c | 4 ++--
 1 file 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]