Initializes and sets
value from an instantiatable type via the
value will be initialised with the exact type of
instance. If you wish to set the
value‘s type to a different GType
(such as a parent class GType), you need to manually call
g_value_init() and g_value_set_instance().
|The data is owned by the caller of the function.|