summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn@endlessos.org>2020-11-02 16:42:30 -0700
committerDan Nicholson <dbn@endlessos.org>2020-11-02 16:42:30 -0700
commit3e527d94473aeae5fbd64158cec47ebb4de41722 (patch)
tree8f7545176cc8fa0c1853f12f3f553c13a734e57e
parent64e09f46b84f7dbbd960c05332583fb60f73233b (diff)
downloadostree-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.c6
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
*