support for setting gvalue to values of g-boxed-class