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:
Simon McVittie 2019-06-05 10:50:07 +01:00
parent bf8b669061
commit 41d31cd4b7

View File

@ -2573,6 +2573,7 @@ g_object_set_property (GObject *object,
* *
* - an empty #GValue initialized by %G_VALUE_INIT, which will be * - an empty #GValue initialized by %G_VALUE_INIT, which will be
* automatically initialized with the expected type of the property * 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 the expected type of the property
* - a #GValue initialized with a type to which the expected type * - a #GValue initialized with a type to which the expected type
* of the property can be transformed * of the property can be transformed