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
This commit is contained in:
Krzesimir Nowak 2012-07-15 19:10:43 +02:00
parent 1b3578ec0b
commit cd8ec3359b

View File

@ -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
*