repo: Fix nullability for remote options

Unfortunately, the nullability of the output value here is
dependent on whether the `default_value` parameter is provided.  There's
no way to express this in introspection or Rust.
This commit is contained in:
Colin Walters 2023-03-17 08:20:16 -04:00
parent cbec85f2d0
commit c4d03d2850

View File

@ -982,7 +982,7 @@ _ostree_repo_remote_name_is_file (const char *remote_name)
* underneath that group, or @default_value if the remote exists but not the
* option name. If an error is returned, @out_value will be set to %NULL.
*
* Returns: %TRUE on success, otherwise %FALSE with @error set
* Returns: (nullable): %TRUE on success, otherwise %FALSE with @error set
*
* Since: 2016.5
*/