From 640e92ef373d7a5a3efcb09852b5c20d23592395 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 9 Dec 2016 06:37:47 -0600 Subject: [PATCH] repo: Fix annotations for remote_fetch_summary functions These are out parameters, so add the (out) annotation and switch (nullable) to (optional) since the latter is used for the purpose of optional out parameters. Closes: #629 Approved by: cgwalters --- src/libostree/ostree-repo-pull.c | 7 ++++--- src/libostree/ostree-repo.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 0d33c048..46724b85 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -3137,9 +3137,10 @@ ostree_repo_pull_with_options (OstreeRepo *self, * @self: Self * @name: name of a remote * @options: (nullable): A GVariant a{sv} with an extensible set of flags - * @out_summary: (nullable): return location for raw summary data, or %NULL - * @out_signatures: (nullable): 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 * diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 8aa76dac..b113ccc0 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -1700,9 +1700,10 @@ out: * ostree_repo_remote_fetch_summary: * @self: Self * @name: name of a remote - * @out_summary: (nullable): return location for raw summary data, or %NULL - * @out_signatures: (nullable): 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 *