summaryrefslogtreecommitdiff
path: root/test/kbtest.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-28 16:37:55 -0400
committerPietro Gagliardi <[email protected]>2014-06-28 16:37:55 -0400
commitaffc65a5a402534527c4d4fbc5b381b5b1283445 (patch)
treeef34e20694a809577b2d609d9e3ffadfe64bbc12 /test/kbtest.go
parent02d6a03ba3a657aa7b50d072771361236bb207a3 (diff)
Fixed the build. New API works on Windows! Also removed TODO on dialogs in Windows since I can't reproduce the weird behavior anymore; I guess the new code fixes it.
Diffstat (limited to 'test/kbtest.go')
-rw-r--r--test/kbtest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kbtest.go b/test/kbtest.go
index 7a10262..4e97708 100644
--- a/test/kbtest.go
+++ b/test/kbtest.go
@@ -74,7 +74,7 @@ func (a *keyboardArea) Key(e KeyEvent) (repaint bool) {
}
type kbhandler struct{}
-func (kbhandler) Handle(e Event, d interface{}) {
+func (kbhandler) Event(e Event, d interface{}) {
if e == Closing {
*(d.(*bool)) = true
}