g_value_get_variant: return value is transfer-none not transfer-full

It defaulted to transfer-full.
This commit is contained in:
Christoph Reiter 2018-11-25 13:03:27 +01:00 committed by Philip Withnall
parent 07bd8eb568
commit 852fb0214a

View File

@ -1281,7 +1281,7 @@ g_value_take_variant (GValue *value,
* *
* Get the contents of a variant #GValue. * Get the contents of a variant #GValue.
* *
* Returns: (nullable): variant contents of @value (may be %NULL) * Returns: (transfer none) (nullable): variant contents of @value (may be %NULL)
* *
* Since: 2.26 * Since: 2.26
*/ */