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
This commit is contained in:
Dan Nicholson 2016-12-09 06:37:47 -06:00 committed by Atomic Bot
parent c19fae0282
commit 640e92ef37
2 changed files with 8 additions and 6 deletions

View File

@ -3137,9 +3137,10 @@ ostree_repo_pull_with_options (OstreeRepo *self,
* @self: Self * @self: Self
* @name: name of a remote * @name: name of a remote
* @options: (nullable): A GVariant a{sv} with an extensible set of flags * @options: (nullable): A GVariant a{sv} with an extensible set of flags
* @out_summary: (nullable): return location for raw summary data, or %NULL * @out_summary: (out) (optional): return location for raw summary data, or
* @out_signatures: (nullable): return location for raw summary signature * %NULL
* data, or %NULL * @out_signatures: (out) (optional): return location for raw summary
* signature data, or %NULL
* @cancellable: a #GCancellable * @cancellable: a #GCancellable
* @error: a #GError * @error: a #GError
* *

View File

@ -1700,9 +1700,10 @@ out:
* ostree_repo_remote_fetch_summary: * ostree_repo_remote_fetch_summary:
* @self: Self * @self: Self
* @name: name of a remote * @name: name of a remote
* @out_summary: (nullable): return location for raw summary data, or %NULL * @out_summary: (out) (optional): return location for raw summary data, or
* @out_signatures: (nullable): return location for raw summary signature * %NULL
* data, or %NULL * @out_signatures: (out) (optional): return location for raw summary
* signature data, or %NULL
* @cancellable: a #GCancellable * @cancellable: a #GCancellable
* @error: a #GError * @error: a #GError
* *