From: Colin Walters Date: Fri, 17 Mar 2023 12:20:16 +0000 (-0400) Subject: repo: Fix nullability for remote options X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2~2^2~19^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c4d03d28500c75ad2bcf7b75383fc60fe7b83ca8;p=ostree.git 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. --- diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index fd9592d7..11175db4 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -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 */