[gobject-introspection] docs: Remove inaccurate description



commit 4daf412127a281edc2fb4fb428e990e3c9e56423
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Aug 6 13:52:01 2022 -0700

    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.

 girepository/gifunctioninfo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/girepository/gifunctioninfo.c b/girepository/gifunctioninfo.c
index ea6842d5b..8b38bd5e0 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]