Decided not to move the initCocoa() function to a file init_darwin.go because it's small enough now that it doesn't matter.
This commit is contained in:
parent
332f9ffd5b
commit
8ce1555ca2
|
@ -42,8 +42,6 @@ func ui(main func()) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO move to init_darwin.go?
|
|
||||||
|
|
||||||
func initCocoa() (err error) {
|
func initCocoa() (err error) {
|
||||||
makeAppDelegate()
|
makeAppDelegate()
|
||||||
if C.initCocoa(appDelegate) != C.YES {
|
if C.initCocoa(appDelegate) != C.YES {
|
||||||
|
|
Loading…
Reference in New Issue