gvariant: fix introspection annotations
authorGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 1 Jun 2011 14:45:43 +0000 (16:45 +0200)
committerColin Walters <walters@verbum.org>
Fri, 3 Jun 2011 20:39:43 +0000 (16:39 -0400)
commitf2bd54d0c5e3093ad141de6142277a27b82147e1
tree75cd99473089ab5114421984b46072011e43311b
parent53ced63c6d4e0df502c6396133dfe67e15f1712b
gvariant: fix introspection annotations

g_variant_get_strv and g_variant_get_bytestring return arrays that
are null terminated and have an explicit length. Since gjs doesn't
support (out) arrays with length, mark them also null-terminated
(but leave the length annotation, so pygobject can remove the argument)

https://bugzilla.gnome.org/show_bug.cgi?id=646635
glib/gvariant.c