diff options
author | Dan Nicholson <dbn@endlessos.org> | 2020-11-02 16:42:30 -0700 |
---|---|---|
committer | Dan Nicholson <dbn@endlessos.org> | 2020-11-02 16:42:30 -0700 |
commit | 3e527d94473aeae5fbd64158cec47ebb4de41722 (patch) | |
tree | 8f7545176cc8fa0c1853f12f3f553c13a734e57e | |
parent | 64e09f46b84f7dbbd960c05332583fb60f73233b (diff) | |
download | ostree-3e527d94473aeae5fbd64158cec47ebb4de41722.tar.gz |
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.
-rw-r--r-- | src/libostree/ostree-repo-static-delta-compilation.c | 6 |
1 files 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 * |