The old (Perl) implementation of glib-genmarshal used g_variant_ref_sink() to correctly handle floating inputs; the Python version should do the same. Includes a unit test. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1793