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
+2 -2
View File
@@ -381,6 +381,6 @@ func Main() {
panic("unreachable")
}
func createWindow(opts WindowOptions) (*Window, error) {
return <- windows, nil
func createWindow(opts *WindowOptions) (*Window, error) {
return <-windows, nil
}