GVariant size APIs are confusing
Submitted by Lars Karlitski
Assigned to Allison (desrt)
Link to original bug (#729105)
Description
g_variant_n_children() is very unidiomatic and hard to find (it's missing the 'get'). g_variant_get_size() looks like it might return the number of children of a gvariant container, but returns the number of bytes the variant uses when serialized instead.
The attached patches deprecate these functions for the more idomatic and easier to remember names g_variant_get_length() and g_variant_get_byte_size().