diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-08 12:04:51 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-08 12:04:51 -0400 |
| commit | 60d0953fe9f16726958f709007402ea4c8b89fc6 (patch) | |
| tree | d3704828dad002c1144626aaec1f3e5cc5560041 /redo/zz_test.go | |
| parent | be56707c51a411c5e8228a78d663c91df4636128 (diff) | |
Implemented the Window OnClosing() event on GTK+. It works!
Diffstat (limited to 'redo/zz_test.go')
| -rw-r--r-- | redo/zz_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go index a4ff669..122005b 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -12,10 +12,10 @@ func TestPackage(t *testing.T) { go func() { w := GetNewWindow(Do, "Hello", 320, 240) done := make(chan struct{}) -// Wait(Do, w.OnClosing(func(Doer) bool { -// done <- struct{}{} -// return true -// })) + Wait(Do, w.OnClosing(func(Doer) bool { + done <- struct{}{} + return true + })) Wait(Do, w.Show()) <-done }() |
