diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-07 12:46:09 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-07 12:46:09 -0400 |
| commit | 24d40fa12d184ebd595344c5c1775d0175a2f4d1 (patch) | |
| tree | a1ba629b6666dc407cbe8898e986c757ca8528f7 /delegate_darwin.go | |
| parent | f7817f6987f83d84893466ee4f8a99af98ee643f (diff) | |
Fixed AppQuit on Mac OS X (forgot to set the NSApp delegate AND was using the wrong selector).
Diffstat (limited to 'delegate_darwin.go')
| -rw-r--r-- | delegate_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/delegate_darwin.go b/delegate_darwin.go index a8140e2..53eb361 100644 --- a/delegate_darwin.go +++ b/delegate_darwin.go @@ -46,7 +46,7 @@ var appDelegateSels = []selector{ "handling window resize events"}, selector{"buttonClicked:", uintptr(C.appDelegate_buttonClicked), sel_bool_id, "handling button clicks"}, - selector{"applicationShouldTerminate", uintptr(C._appDelegate_applicationShouldTerminate), sel_terminatereply, + selector{"applicationShouldTerminate:", uintptr(C._appDelegate_applicationShouldTerminate), sel_terminatereply_id, "handling Quit menu items (such as from the Dock)/the AppQuit channel"}, } |
