ui/app,apps/gophers,apps/hello: accept nil WindowOptions in NewWindow

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-03-31 13:55:05 +02:00
parent f21b5eb1df
commit 1d67fad0c3
10 changed files with 21 additions and 18 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ func (w *window) setTextInput(s key.TextInputState) {
}
}
func createWindow(opts WindowOptions) (*Window, error) {
func createWindow(opts *WindowOptions) (*Window, error) {
return <-windows, nil
}