Merge branch 'issue-2923' into 'master'

Annotate the expression array as "nullable"

Closes #2923

See merge request GNOME/gtk!2578
This commit is contained in:
Matthias Clasen
2020-09-14 17:01:54 +00:00

View File

@@ -1577,7 +1577,7 @@ GTK_DEFINE_EXPRESSION_TYPE (GtkClosureExpression,
* @value_type: the type of the value that this expression evaluates to
* @closure: closure to call when evaluating this expression. If closure is floating, it is adopted
* @n_params: the number of params needed for evaluating @closure
* @params: (array length=n_params) (transfer full): expressions for each parameter
* @params: (nullable) (array length=n_params) (transfer full): expressions for each parameter
*
* Creates a GtkExpression that calls @closure when it is evaluated.
* @closure is called with the @this object and the results of evaluating