summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-12-09 12:44:20 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-12-09 12:44:20 +0000
commitb47e1616eb1201eae35955aa62aebc352927c67b (patch)
tree1e36a482360147ca8006d02acf1191d4e46a7be4
parenta166cc9f35463f6ed79425de237df5e994eebaef (diff)
downloadclutter-b47e1616eb1201eae35955aa62aebc352927c67b.tar.gz
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.
-rw-r--r--clutter/clutter-actor.c2
1 files changed, 1 insertions, 1 deletions
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