From 585f5f5b62da3170d4398b39670d16811013d078 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 3 Aug 2014 09:13:25 -0400 Subject: [PATCH] Applied previous commit's change to the test program. --- redo/zz_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redo/zz_test.go b/redo/zz_test.go index 2552642..c04b669 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -98,7 +98,7 @@ func (tw *testwin) make(done chan struct{}) { }) tw.t.Append("Button", tw.b) tw.c = NewCheckbox("You Should Now See Me Instead") - tw.c.OnClicked(func() { + tw.c.OnToggled(func() { tw.w.SetTitle(fmt.Sprint(tw.c.Checked())) }) tw.t.Append("Checkbox", tw.c)