codegen: Add version condition on special function traits
codegen: Add version condition on special function traits

gtk-rs/gir,GuillaumeGomez/gir,gtk-rs/gir,GuillaumeGomez/gir,GuillaumeGomez/gir,gtk-rs/gir