c427597fde548b16b92863d6793dde3096815773 — Elias Naur 28 days ago 6a7e38e
apps: update go latest gioui.org/ui version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 files changed, 7 insertions(+), 7 deletions(-)

M apps/go.mod
M apps/gophers/main.go
M apps/hello/hello.go
M apps/go.mod => apps/go.mod +1 -1
@@ 3,7 3,7 @@ go 1.12
  
  require (
- 	gioui.org/ui v0.0.0-20190814083508-56926a044990
+ 	gioui.org/ui v0.0.0-20190821125935-6a7e38eb329f
  	github.com/google/go-github/v24 v24.0.1
  	golang.org/x/exp v0.0.0-20190627132806-fd42eb6b336f
  	golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9

M apps/gophers/main.go => apps/gophers/main.go +5 -5
@@ 54,11 54,11 @@ fmt.Println("See https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line.")
  	}
  	go func() {
- 		w := app.NewWindow(&app.WindowOptions{
- 			Width:  ui.Dp(400),
- 			Height: ui.Dp(800),
- 			Title:  "Gophers",
- 		})
+ 		w := app.NewWindow(
+ 			app.WithWidth(ui.Dp(400)),
+ 			app.WithHeight(ui.Dp(800)),
+ 			app.WithTitle("Gophers"),
+ 		)
  		if err := newApp(w).run(); err != nil {
  			log.Fatal(err)
  		}

M apps/hello/hello.go => apps/hello/hello.go +1 -1
@@ 21,7 21,7 @@   func main() {
  	go func() {
- 		w := app.NewWindow(nil)
+ 		w := app.NewWindow()
  		if err := loop(w); err != nil {
  			log.Fatal(err)
  		}