mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-27 12:23:29 +02: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:
@@ -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
|
* @element: a #GVariantType
|
||||||
*
|
*
|
||||||
* Constructs the type corresponding to an array of elements of the
|
* 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
|
* @element: a #GVariantType
|
||||||
*
|
*
|
||||||
* Constructs the type corresponding to a maybe instance containing
|
* 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
|
* @key: a basic #GVariantType
|
||||||
* @value: a #GVariantType
|
* @value: a #GVariantType
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user