gdk/gdk_since_3_16.go
func (v *GLContext) GetRequiredVersion() (MajorVersion, MinorVersion) {
	var major, minor int
	C.gdk_gl_context_get_required_version(v.native(),
		(*C.int)(unsafe.Pointer(&major)), (*C.int)(unsafe.Pointer(&minor)))

	return MajorVersion(major), MinorVersion(minor)
}
func (v *GLContext) GetRequiredVersion() (MajorVersion, MinorVersion) {
	var major, minor int
	C.gdk_gl_context_get_required_version(v.native(),
		(*C.int)(unsafe.Pointer(&major)), (*C.int)(unsafe.Pointer(&minor)))

	return MajorVersion(major), MinorVersion(minor)
}
// GetRequiredVersion is a wrapper around gdk_gl_context_get_required_version().