mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
g_object_get_property: Document accepting G_VALUE_INIT as new API
Code intended to be portable to older versions of GLib cannot rely on this being considered valid. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
bf8b669061
commit
41d31cd4b7
@ -2573,6 +2573,7 @@ g_object_set_property (GObject *object,
|
||||
*
|
||||
* - an empty #GValue initialized by %G_VALUE_INIT, which will be
|
||||
* automatically initialized with the expected type of the property
|
||||
* (since GLib 2.60)
|
||||
* - a #GValue initialized with the expected type of the property
|
||||
* - a #GValue initialized with a type to which the expected type
|
||||
* of the property can be transformed
|
||||
|
Loading…
x
Reference in New Issue
Block a user