summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2022-08-06 13:52:01 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2022-08-06 13:52:01 -0700
commit4daf412127a281edc2fb4fb428e990e3c9e56423 (patch)
treea90d825706f4264e6223278d08217be7409b8866
parent2206d47348c6ed000fc88754ecdf2d4e31750bcb (diff)
downloadgobject-introspection-4daf412127a281edc2fb4fb428e990e3c9e56423.tar.gz
docs: Remove inaccurate description
This parameter may not be NULL even if the function described by the GIFunctionInfo has a void return type, so we should not say this in the documentation.
-rw-r--r--girepository/gifunctioninfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/girepository/gifunctioninfo.c b/girepository/gifunctioninfo.c
index ea6842d5..8b38bd5e 100644
--- a/girepository/gifunctioninfo.c
+++ b/girepository/gifunctioninfo.c
@@ -237,8 +237,7 @@ g_invoke_error_quark (void)
* may be %NULL
* @n_out_args: the length of the @out_args array
* @return_value: return location for the return value of the
- * function. If the function returns void, @return_value may be
- * %NULL
+ * function.
* @error: return location for detailed error information, or %NULL
*
* Invokes the function described in @info with the given