[glib] GVariantType: Add (constructor) annotation for some constructors.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GVariantType: Add (constructor) annotation for some constructors.
- Date: Mon, 16 Jul 2012 15:59:33 +0000 (UTC)
commit cd8ec3359b4b8afd5cce48bf218ecd793f8064eb
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sun Jul 15 19:10:43 2012 +0200
GVariantType: Add (constructor) annotation for some constructors.
This are mistaken by g-ir-scanner as GVariantType's methods, because
they take a GVariantType* as a first parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=679968
glib/gvarianttype.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gvarianttype.c b/glib/gvarianttype.c
index 5c27fe0..aeea1c1 100644
--- a/glib/gvarianttype.c
+++ b/glib/gvarianttype.c
@@ -1418,7 +1418,7 @@ g_variant_type_new_tuple (const GVariantType * const *items,
}
/**
- * g_variant_type_new_array:
+ * g_variant_type_new_array: (constructor)
* @element: a #GVariantType
*
* Constructs the type corresponding to an array of elements of the
@@ -1448,7 +1448,7 @@ g_variant_type_new_array (const GVariantType *element)
}
/**
- * g_variant_type_new_maybe:
+ * g_variant_type_new_maybe: (constructor)
* @element: a #GVariantType
*
* Constructs the type corresponding to a maybe instance containing
@@ -1478,7 +1478,7 @@ g_variant_type_new_maybe (const GVariantType *element)
}
/**
- * g_variant_type_new_dict_entry:
+ * g_variant_type_new_dict_entry: (constructor)
* @key: a basic #GVariantType
* @value: a #GVariantType
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]