From 28e5e6f27fe1600ee5f48ea55264ed73285a2dd8 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 21 Jan 2015 11:58:31 -0500 Subject: [PATCH] traverse: Fix transfer on hash table Otherwise, bindings try to erroneously unref the key/values as well. --- src/libostree/ostree-repo-traverse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libostree/ostree-repo-traverse.c b/src/libostree/ostree-repo-traverse.c index 55b91742ec..122fccecf7 100644 --- a/src/libostree/ostree-repo-traverse.c +++ b/src/libostree/ostree-repo-traverse.c @@ -32,7 +32,7 @@ * This hash table is a set of #GVariant which can be accessed via * ostree_object_name_deserialize(). * - * Returns: (transfer full) (element-type GVariant GVariant): A new hash table + * Returns: (transfer container) (element-type GVariant GVariant): A new hash table */ GHashTable * ostree_repo_traverse_new_reachable (void) @@ -229,7 +229,7 @@ ostree_repo_traverse_commit_union (OstreeRepo *repo, * @repo: Repo * @commit_checksum: ASCII SHA256 checksum * @maxdepth: Traverse this many parent commits, -1 for unlimited - * @out_reachable: (out) (element-type GVariant GVariant): Set of reachable objects + * @out_reachable: (out) (transfer container) (element-type GVariant GVariant): Set of reachable objects * @cancellable: Cancellable * @error: Error *