ui/app: replace WindowOptions with WindowOption

Thanks to Larry Clapp for noticing the opportunity for improvement.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-21 10:27:48 +02:00
parent e140f2a1c0
commit bff8b64e5a
8 changed files with 58 additions and 28 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ func gio_onCreate(view C.CFTypeRef) {
})
}
func createWindow(win *Window, opts *WindowOptions) error {
func createWindow(win *Window, opts *windowOptions) error {
mainWindow.in <- windowAndOptions{win, opts}
return <-mainWindow.errs
}