[glib/glib-2-58: 2/3] g_value_get_variant: return value is transfer-none not transfer-full
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-58: 2/3] g_value_get_variant: return value is transfer-none not transfer-full
- Date: Mon, 17 Dec 2018 17:32:29 +0000 (UTC)
commit 852fb0214af4cf750b0150ce86b3d5c039aba61c
Author: Christoph Reiter <creiter src gnome org>
Date: Sun Nov 25 13:03:27 2018 +0100
g_value_get_variant: return value is transfer-none not transfer-full
It defaulted to transfer-full.
gobject/gvaluetypes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c
index 4cc778be3..17d1a70a9 100644
--- a/gobject/gvaluetypes.c
+++ b/gobject/gvaluetypes.c
@@ -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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]