summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin@elementary.io>2019-06-23 16:50:17 +0200
committerCorentin Noël <corentin@elementary.io>2019-06-23 16:50:17 +0200
commit266b174c375a720d625ae6253ddb434118b70cd0 (patch)
treed7ea8667af61117891cf59213be3888f3a658017
parente49cfb8d3462d624cad8b76c6560bd76996ed544 (diff)
downloadgobject-introspection-wip/tintou/closure-documentation.tar.gz
Fix misleading documentation for `closure` annotationwip/tintou/closure-documentation
-rw-r--r--docs/website/annotations/giannotations.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/website/annotations/giannotations.rst b/docs/website/annotations/giannotations.rst
index cacc20de..3d4f8bad 100644
--- a/docs/website/annotations/giannotations.rst
+++ b/docs/website/annotations/giannotations.rst
@@ -123,13 +123,13 @@ Support for GObject closures
-
* - ``(closure)``
- parameters
- - The parameter is a "``user_data``" for callbacks.
- Many bindings can pass ``NULL`` here.
+ - The parameter is a callback and has a corresponding "``user_data``"
+ parameter which many bindings can pass ``NULL``.
-
* - ``(closure CLOSURE)``
- parameters
- - The parameter is a "``user_data``" for callbacks, the ``CLOSURE`` option
- points to a different parameter that is the actual callback.
+ - The parameter is a callback, the ``CLOSURE`` option points to a different
+ parameter that is the "``user_data``" parameter returned by the callback.
-