mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +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:
@@ -422,7 +422,7 @@ func (w *window) showTextInput(show bool) {
|
||||
func main() {
|
||||
}
|
||||
|
||||
func createWindow(window *Window, opts *WindowOptions) error {
|
||||
func createWindow(window *Window, opts *windowOptions) error {
|
||||
mainWindow.in <- windowAndOptions{window, opts}
|
||||
return <-mainWindow.errs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user