Commit e645aeb1 authored by Thomas Haller's avatar Thomas Haller

libnm: document nm_utils_parse_variant_attributes() returning floating references

See-also: https://bugzilla.redhat.com/show_bug.cgi?id=1594887
parent a525b12c
......@@ -6035,7 +6035,9 @@ attribute_unescape (const char *start, const char *end)
* Parse attributes from a string.
*
* Returns: (transfer full) (element-type utf8 GVariant): a #GHashTable mapping
* attribute names to #GVariant values.
* attribute names to #GVariant values. Warning: the variant are still floating
* references, owned by the hash table. If you take a reference, ensure to sink
* the one of the hash table first.
*
* Since: 1.8
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment