gobject: Mark g_object_new_with_properties as non-introspectable

There is no transfer annotation that can express transfer semantics of
g_object_new_with_properties in general. When GInitiallyUnowned object
is constructed the introspection data will be incorrect.

Mark it with skip annotation.

https://bugzilla.gnome.org/show_bug.cgi?id=795025
This commit is contained in:
Tomasz Miąsko 2018-04-10 00:00:00 +00:00 committed by Philip Withnall
parent 9d27ed1d78
commit a9ad793506

View File

@ -1905,7 +1905,7 @@ g_object_new_is_valid_property (GType object_type,
/**
* g_object_new_with_properties: (rename-to g_object_new)
* g_object_new_with_properties: (skip)
* @object_type: the object type to instantiate
* @n_properties: the number of properties
* @names: (array length=n_properties): the names of each property to be set