func (v *Application) Run(args []string) int {
	cargs := C.make_strings(C.int(len(args)))
	defer C.destroy_strings(cargs)

	for i, arg := range args {
		cstr := C.CString(arg)
		defer C.free(unsafe.Pointer(cstr))
		C.set_string(cargs, C.int(i), (*C.char)(cstr))
	}

	return int(C.g_application_run(v.native(), C.int(len(args)), cargs))
}
func (v *Application) Run(args []string) int {
	cargs := C.make_strings(C.int(len(args)))
	defer C.destroy_strings(cargs)

	for i, arg := range args {
		cstr := C.CString(arg)
		defer C.free(unsafe.Pointer(cstr))
		C.set_string(cargs, C.int(i), (*C.char)(cstr))
	}

	return int(C.g_application_run(v.native(), C.int(len(args)), cargs))
}
func ( v * Application ) Run ( args [ ] string ) int { cargs := C . make_strings ( C . int ( len ( args ) ) ) defer C . destroy_strings ( cargs ) for i , arg := range args { cstr := C . CString ( arg ) defer C . free ( unsafe . Pointer ( cstr ) ) C . set_string ( cargs , C . int ( i ) , ( * C . char ) ( cstr ) ) } return int ( C . g_application_run ( v . native ( ) , C . int ( len ( args ) ) , cargs ) ) }
// Run is a wrapper around g_application_run().
Run is a wrapper around g_application_run () .