diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-20 21:26:26 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-20 21:26:26 -0400 |
| commit | cb96b8c6fd74f195cfddde327888e65ab39337ff (patch) | |
| tree | ff4e7a4983d07063e7a8fbd5fc6270a6c4788da0 /redo/controls_darwin.go | |
| parent | 88a51068db99f8beb5fffb37ab327ce998be2e7e (diff) | |
Added common_darwin.go; moved toBOOL() there.
Diffstat (limited to 'redo/controls_darwin.go')
| -rw-r--r-- | redo/controls_darwin.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/redo/controls_darwin.go b/redo/controls_darwin.go index 3c3289e..92eb836 100644 --- a/redo/controls_darwin.go +++ b/redo/controls_darwin.go @@ -9,14 +9,6 @@ import ( // #include "objc_darwin.h" import "C" -// TODO move to common_darwin.go -func toBOOL(b bool) C.BOOL { - if b == true { - return C.YES - } - return C.NO -} - type widgetbase struct { id C.id parentw *window |
