diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-04 15:07:43 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-04 15:51:40 -0400 |
| commit | 1a7bf4cd8974bc116df17bccd908187a767d7e6e (patch) | |
| tree | ec3a050d7324f387d4726eadd33ba7280e5cdc68 /objc_darwin.go | |
| parent | be668a965a382fc1de2f9711282b5ec897d55ca5 (diff) | |
Got rid of objc_addDelegate(); it was only called in one place (Mac OS X Window creation). Also forgot to mention that the previous commit also disables mouse movements in Cocoa Areas for now; I need to replace the current code with one that uses tracking because mouse movements are system-global.
Diffstat (limited to 'objc_darwin.go')
| -rw-r--r-- | objc_darwin.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/objc_darwin.go b/objc_darwin.go index 5fdb896..76fbb54 100644 --- a/objc_darwin.go +++ b/objc_darwin.go @@ -35,7 +35,6 @@ var ( _release = sel_getUid("release") _stringWithUTF8String = sel_getUid("stringWithUTF8String:") _UTF8String = sel_getUid("UTF8String") - _setDelegate = sel_getUid("setDelegate:") ) // some helper functions @@ -66,10 +65,6 @@ func fromNSString(str C.id) string { return C.GoString((*C.char)(unsafe.Pointer(cstr))) } -func objc_setDelegate(obj C.id, delegate C.id) { - C.objc_msgSend_id(obj, _setDelegate, delegate) -} - /* These are wrapper functions for the functions in bleh_darwin.m to wrap around stdint.h type casting. */ |
