From 91ccaff197ddefebe4965108ed19735bcbb6bfd3 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 22 Jun 2016 11:16:21 +0200 Subject: [PATCH] core: Fix wrong return value docs ostree_commit_get_parent() returns a string form of a checksum, not a binary form. Closes: #360 Approved by: cgwalters --- src/libostree/ostree-core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c index 8e8424fc..1a3740f8 100644 --- a/src/libostree/ostree-core.c +++ b/src/libostree/ostree-core.c @@ -1993,8 +1993,9 @@ ostree_validate_structureof_dirmeta (GVariant *dirmeta, /** * ostree_commit_get_parent: * @commit_variant: Variant of type %OSTREE_OBJECT_TYPE_COMMIT - * - * Returns: Binary checksum with parent of @commit_variant, or %NULL if none + * + * Returns: Checksum of the parent commit of @commit_variant, or %NULL + * if none */ gchar * ostree_commit_get_parent (GVariant *commit_variant)