[glib] Missed a couple of @returns
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Missed a couple of @returns
- Date: Mon, 21 Nov 2011 17:02:15 +0000 (UTC)
commit 0f1fb417bf0425fc4d5c277ffb86b881fd3f1c48
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Nov 21 11:39:52 2011 -0500
Missed a couple of @returns
glib/gvariant.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index 859cfbb..6e15c41 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -3109,7 +3109,6 @@ struct heap_builder
/**
* g_variant_builder_new:
* @type: a container type
- * @returns: (transfer full): a #GVariantBuilder
*
* Allocates and initialises a new #GVariantBuilder.
*
@@ -3121,6 +3120,8 @@ struct heap_builder
* the stack of the calling function and initialise it with
* g_variant_builder_init().
*
+ * Returns: (transfer full): a #GVariantBuilder
+ *
* Since: 2.24
**/
GVariantBuilder *
@@ -3167,13 +3168,14 @@ g_variant_builder_unref (GVariantBuilder *builder)
/**
* g_variant_builder_ref:
* @builder: a #GVariantBuilder allocated by g_variant_builder_new()
- * @returns: (transfer full): a new reference to @builder
*
* Increases the reference count on @builder.
*
* Don't call this on stack-allocated #GVariantBuilder instances or bad
* things will happen.
*
+ * Returns: (transfer full): a new reference to @builder
+ *
* Since: 2.24
**/
GVariantBuilder *
@@ -3515,7 +3517,6 @@ g_variant_make_array_type (GVariant *element)
/**
* g_variant_builder_end:
* @builder: a #GVariantBuilder
- * @returns: (transfer none): a new, floating, #GVariant
*
* Ends the builder process and returns the constructed value.
*
@@ -3532,6 +3533,8 @@ g_variant_make_array_type (GVariant *element)
* have been added; in this case it is impossible to infer the type of
* the empty array.
*
+ * Returns: (transfer none): a new, floating, #GVariant
+ *
* Since: 2.24
**/
GVariant *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]