[glib: 1/2] g_value_get_variant: return value is transfer-none not transfer-full
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] g_value_get_variant: return value is transfer-none not transfer-full
- Date: Mon, 26 Nov 2018 10:54:50 +0000 (UTC)
commit f73b9e29e19b6f14e2d5ac81ec5e9e6daacd3f27
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]