summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--darwintest/runtimetest.go5
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:")