diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-28 21:38:06 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-28 21:38:06 -0500 |
| commit | ae8ccdca197cb6b29ff25cb0c874e93ef15a153a (patch) | |
| tree | 0a9ae448aa2c91be73717153f3623f06730d3422 | |
| parent | 1c6d4e915177caa65c542619763d73ca704b52bb (diff) | |
Removed the NSNotificationCenter stuff since we're not using that to run UI operations on the main thread anymore.
| -rw-r--r-- | darwintest/runtimetest.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/darwintest/runtimetest.go b/darwintest/runtimetest.go index 6a8149f..b894809 100644 --- a/darwintest/runtimetest.go +++ b/darwintest/runtimetest.go @@ -13,15 +13,12 @@ import "C" var ( _NSApplication = objc_getClass("NSApplication") - _NSNotificationCenter = objc_getClass("NSNotificationCenter") _sharedApplication = sel_getUid("sharedApplication") - _defaultCenter = sel_getUid("defaultCenter") _run = sel_getUid("run") ) var NSApp C.id -var defNC C.id var delegate C.id var notesel C.SEL @@ -29,8 +26,6 @@ func init() { // need an NSApplication first - see https://github.com/TooTallNate/NodObjC/issues/21 NSApp = C.objc_msgSend_noargs(_NSApplication, _sharedApplication) - defNC = C.objc_msgSend_noargs(_NSNotificationCenter, _defaultCenter) - selW := sel_getUid("windowShouldClose:") selB := sel_getUid("buttonClicked:") selN := sel_getUid("gotNotification:") |
