[glib] Make g_variant_builder_end's return to be (allow none) because callers need to add a ref to it in ad
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Make g_variant_builder_end's return to be (allow none) because callers need to add a ref to it in ad
- Date: Mon, 13 Sep 2010 15:56:38 +0000 (UTC)
commit 124023b06d39c5b94605368abd8f9576ece45ca4
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date: Mon Sep 13 17:53:54 2010 +0200
Make g_variant_builder_end's return to be (allow none) because callers
need to add a ref to it in addition to sinking it.
glib/gvariant.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index bbfa95c..133bfa1 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -3056,7 +3056,7 @@ g_variant_make_array_type (GVariant *element)
/**
* g_variant_builder_end:
* @builder: a #GVariantBuilder
- * @returns: a new, floating, #GVariant
+ * @returns: (transfer none): a new, floating, #GVariant
*
* Ends the builder process and returns the constructed value.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]