[gtk/issue-2904] Add nullable annotations for gtk_cclosure_expression_new()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/issue-2904] Add nullable annotations for gtk_cclosure_expression_new()
- Date: Tue, 30 Jun 2020 11:13:21 +0000 (UTC)
commit f2853ffa8ee9468978555cb895438eebd9875482
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Jun 30 12:11:21 2020 +0100
Add nullable annotations for gtk_cclosure_expression_new()
Fixes: #2904
gtk/gtkexpression.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkexpression.c b/gtk/gtkexpression.c
index 75557bbffe..180a1e4858 100644
--- a/gtk/gtkexpression.c
+++ b/gtk/gtkexpression.c
@@ -1570,12 +1570,12 @@ GTK_DEFINE_EXPRESSION_TYPE (GtkCClosureExpression,
/**
* gtk_cclosure_expression_new:
* @value_type: the type of the value that this expression evaluates to
- * @marshal: (scope call): marshaller used for creating a closure
+ * @marshal: (scope call) (nullable): marshaller used for creating a closure
* @n_params: the number of params needed for evaluating @closure
* @params: (array length=n_params) (transfer full): expressions for each parameter
* @callback_func: (scope notified) (closure user_data) (destroy user_destroy): callback used for creating a
closure
- * @user_data: user data used for creating a closure
- * @user_destroy: destroy notify for @user_data
+ * @user_data: (nullable): user data used for creating a closure
+ * @user_destroy: (nullable): destroy notify for @user_data
*
* This function is a variant of gtk_closure_expression_new() that
* creates a #GClosure by calling gtk_cclosure_new() with the given
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]