From 3e527d94473aeae5fbd64158cec47ebb4de41722 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Mon, 2 Nov 2020 16:42:30 -0700 Subject: [PATCH] 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. --- src/libostree/ostree-repo-static-delta-compilation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c index 753f8aee..893ce2fa 100644 --- a/src/libostree/ostree-repo-static-delta-compilation.c +++ b/src/libostree/ostree-repo-static-delta-compilation.c @@ -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 *