array/list: Make gvalue conversion symmetric
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 27 Mar 2017 18:59:24 +0000 (14:59 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 27 Mar 2017 19:02:41 +0000 (15:02 -0400)
commitd44975a1fe624e39f9ef480ae0694a77311247c1
treed005f1b08f64dc20ff78772efeafeaaff9850a62
parentc6dee2c26b2c87857941c026dc50cce51e25251d
array/list: Make gvalue conversion symmetric

This is needed to support matrix. Otherwise, getting
a matrix would remove the rows envelopess, which would
make the "cast" fails, since it would not know if the
internal rows are ValueArray or ValueList. I think reading,
modifying and setting back the matrix is an important use
case.
gi/overrides/gstmodule.c
testsuite/test_valuearray.py
testsuite/test_valuelist.py