GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but a PyGIStruct.
commit49880800b35029de3731523eede1b3174f10c1db
authorChristoph Reiter <creiter@src.gnome.org>
Sat, 4 Jul 2015 19:40:04 +0000 (4 21:40 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Mon, 29 Feb 2016 13:34:43 +0000 (29 14:34 +0100)
tree93e2fbf144eeb5ede036eed83eaeb321e1bf5ca3
parentf27b1976ea325fcd55359888401dd08ac8fb074a
GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but a PyGIStruct.

This only worked because they share the same struct layout.
This adds a new constructor for creating a new PyGIStruct instance from GType.

https://bugzilla.gnome.org/show_bug.cgi?id=751956
gi/pygi-struct.c
gi/pygi-struct.h
gi/pygi-value.c