From 3d2df2334e13954c166d46013609856113db4d97 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 12 Feb 2014 21:33:24 -0500 Subject: Fixed compiler errors. New code structure success! --- button.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'button.go') diff --git a/button.go b/button.go index 92ddead..4603ee0 100644 --- a/button.go +++ b/button.go @@ -2,7 +2,6 @@ package main import ( - "fmt" "sync" ) @@ -36,9 +35,7 @@ func (b *Button) SetText(text string) (err error) { b.lock.Lock() defer b.lock.Unlock() - if b.pWin != nil && b.pWin.created { - panic("TODO") - } + // TODO handle created b.initText = text return nil } -- cgit v1.2.3