summaryrefslogtreecommitdiff
path: root/delegate_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'delegate_darwin.go')
-rw-r--r--delegate_darwin.go4
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