diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-16 20:29:16 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-16 20:29:16 -0400 |
| commit | 6d67bce9b18ab01d99f636068ab5652857749c32 (patch) | |
| tree | 097a3634605d9021cdecae0b2053fcfe7091dc32 /sysdata_darwin.go | |
| parent | 8ce1555ca25f8522cf5ed6fe3a2692d8b025d358 (diff) | |
Moved toBOOL() from sysdata_darwin.go to objc_darwin.go since it's used by other Mac OS X files too.
Diffstat (limited to 'sysdata_darwin.go')
| -rw-r--r-- | sysdata_darwin.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdata_darwin.go b/sysdata_darwin.go index 1f9370c..b240e70 100644 --- a/sysdata_darwin.go +++ b/sysdata_darwin.go @@ -48,14 +48,6 @@ func controlHide(what C.id) { C.controlHide(what) } -// TODO move to objc_darwin.go unless the only thing that uses it is alternate -func toBOOL(what bool) C.BOOL { - if what { - return C.YES - } - return C.NO -} - // By default some controls do not use the correct font. // These functions set the appropriate control font. // Which one is used on each control was determined by comparing https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/AppleHIGuidelines/Characteristics/Characteristics.html#//apple_ref/doc/uid/TP40002721-SW10 to what Interface Builder says for each control. |
