From cb96b8c6fd74f195cfddde327888e65ab39337ff Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 20 Jul 2014 21:26:26 -0400 Subject: Added common_darwin.go; moved toBOOL() there. --- redo/controls_darwin.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'redo/controls_darwin.go') 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 -- cgit v1.2.3