mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
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:
parent
1b3578ec0b
commit
cd8ec3359b
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user