lib/deltas: Annotate from checksum as nullable

Without this you can't create a scratch delta from GI. While here,
switch the deprecated allow-none annotations to nullable.
This commit is contained in:
Dan Nicholson 2020-11-02 16:42:30 -07:00
parent 64e09f46b8
commit 3e527d9447
1 changed files with 3 additions and 3 deletions

View File

@ -1313,10 +1313,10 @@ get_fallback_headers (OstreeRepo *self,
* ostree_repo_static_delta_generate:
* @self: Repo
* @opt: High level optimization choice
* @from: ASCII SHA256 checksum of origin, or %NULL
* @from: (nullable): ASCII SHA256 checksum of origin, or %NULL
* @to: ASCII SHA256 checksum of target
* @metadata: (allow-none): Optional metadata
* @params: (allow-none): Parameters, see below
* @metadata: (nullable): Optional metadata
* @params: (nullable): Parameters, see below
* @cancellable: Cancellable
* @error: Error
*