Skip to content
Commit 6d8ff4d5 authored by Martin Pitt's avatar Martin Pitt
Browse files

[gi] Support nested objects and empty sequences in GLib.Variant building

The GVariant constructor (in the overrides) previously did not support empty
arrays/dictionaries or nested structures. Rewrite the VariantCreator class to
be fully recursive and determine the element types of arrays/dictionaries.

This now also allows you to use actual tuples as input values for GVariant
tuple types. Taking values from the flat argument list is still supported for
convenience, though.

https://bugzilla.gnome.org/show_bug.cgi?id=639939
parent ac095f54
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