mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
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:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user