[ostree] traverse: Fix transfer on hash table
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] traverse: Fix transfer on hash table
- Date: Wed, 21 Jan 2015 17:16:07 +0000 (UTC)
commit 28e5e6f27fe1600ee5f48ea55264ed73285a2dd8
Author: Colin Walters <walters verbum org>
Date: Wed Jan 21 11:58:31 2015 -0500
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libostree/ostree-repo-traverse.c b/src/libostree/ostree-repo-traverse.c
index 55b9174..122fcce 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
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]