diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2023-02-09 16:28:53 +0100 |
---|---|---|
committer | Corentin Noël <tintou@noel.tf> | 2023-02-09 16:28:53 +0100 |
commit | fa750fba8032dd271b33ef1553b46f9a0a985e50 (patch) | |
tree | b213c822b747a7286f8577ad58a673d84c9bbca8 /src/libostree/ostree-repo-pull.c | |
parent | 51f3d03d9bc1e39b5e47c629ae5eb9f483da56b8 (diff) | |
download | ostree-fa750fba8032dd271b33ef1553b46f9a0a985e50.tar.gz |
libostree: Enhance the annotation coverage
Increase the coverage of the GObject Introspection annotation and most notably
replace the use of "allow-none" with "out" parameters to "nullable" or "optional"
as the previous annotation is deprecated and ambiguous.
Diffstat (limited to 'src/libostree/ostree-repo-pull.c')
-rw-r--r-- | src/libostree/ostree-repo-pull.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 18bb7fb7..4e006f63 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -6564,10 +6564,9 @@ ostree_repo_pull_from_remotes_finish (OstreeRepo *self, * @self: Self * @name: name of a remote * @options: (nullable): A GVariant a{sv} with an extensible set of flags - * @out_summary: (out) (optional): return location for raw summary data, or - * %NULL - * @out_signatures: (out) (optional): return location for raw summary - * signature data, or %NULL + * @out_summary: (out) (optional): return location for raw summary data, or %NULL + * @out_signatures: (out) (optional): return location for raw summary signature + * data, or %NULL * @cancellable: a #GCancellable * @error: a #GError * |