From b47e1616eb1201eae35955aa62aebc352927c67b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 9 Dec 2015 12:44:20 +0000 Subject: [PATCH] Fix annotation for bind_model() The (optional) annotation should only be used for (out) arguments; in arguments that can be NULL should use the (nullable) annotation. --- clutter/clutter-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index fb9f5c6a5..6298b1c74 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -20834,7 +20834,7 @@ clutter_actor_child_model__items_changed (GListModel *model, /** * clutter_actor_bind_model: * @self: a #ClutterActor - * @model: (optional): a #GListModel + * @model: (nullable): a #GListModel * @create_child_func: a function that creates #ClutterActor instances * from the contents of the @model * @user_data: user data passed to @create_child_func