From ffa1bbe0b91a8c812ddcea5c5d65e55f60d07f33 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 30 Jun 2014 22:48:12 -0400 Subject: Restored the previous new API. I'm going to change it so that events are callbacks rather than using a window handler, but other than that... yeah. --- test/spacing.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/spacing.go') diff --git a/test/spacing.go b/test/spacing.go index 367b0be..610115f 100644 --- a/test/spacing.go +++ b/test/spacing.go @@ -41,14 +41,13 @@ func spaceTest() { a2 := NewArea(w, h, ah) a3 := NewArea(w, h, ah) a4 := NewArea(w, h, ah) - win := NewWindow("Stack", 250, 250) + win := NewWindow("Stack", 250, 250, nullwinhandler{}) win.SetSpaced(true) win.Open(f(a1, a2)) - win = NewWindow("Grid", 250, 250) + win = NewWindow("Grid", 250, 250, nullwinhandler{}) win.SetSpaced(true) g := NewGrid(ng, a3, a4) g.SetFilling(0, 0) g.SetStretchy(gsx, gsy) win.Open(g) - select {} } -- cgit v1.2.3