Better detection for boxed types
It seems like all boxed types do expose a glib:get-type attribute compared to structs.