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
parent 8316ae2241
commit f73b9e29e1

View File

@ -1281,7 +1281,7 @@ g_value_take_variant (GValue *value,
*
* 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
*/