diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-30 23:48:08 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-30 23:48:08 -0400 |
| commit | 3565889e15e387fce435c3ffadeaea9823fb2eed (patch) | |
| tree | 93cf5de89c9010fc16da37949d441d97e3386f89 /delegate_darwin.go | |
| parent | ffa1bbe0b91a8c812ddcea5c5d65e55f60d07f33 (diff) | |
Made Window.Closing a callback closure.
Diffstat (limited to 'delegate_darwin.go')
| -rw-r--r-- | delegate_darwin.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/delegate_darwin.go b/delegate_darwin.go index 27031c3..b1daece 100644 --- a/delegate_darwin.go +++ b/delegate_darwin.go @@ -26,9 +26,7 @@ func makeAppDelegate() { //export appDelegate_windowShouldClose func appDelegate_windowShouldClose(win C.id) C.BOOL { sysData := getSysData(win) - b := false // TODO - sysData.close(&b) - return toBOOL(b) + return toBOOL(sysData.close()) } //export appDelegate_windowDidResize |
