From 4adf1ae5cdc4d0aa0005ee68f4c1195a7f0d73b7 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 17 Mar 2014 13:37:51 -0400 Subject: Removed the mutexes from Labels and Areas because I'm at my wits end about settling the deadlock between window resizing and setting a Label's text. --- test/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/main.go') diff --git a/test/main.go b/test/main.go index e032aca..6023991 100644 --- a/test/main.go +++ b/test/main.go @@ -120,7 +120,7 @@ type areaHandler struct { img *image.NRGBA } func (a *areaHandler) Paint(rect image.Rectangle) *image.NRGBA { -fmt.Println(rect) +//fmt.Println(rect) /* req.Out <- img[i].SubImage(req.Rect).(*image.NRGBA) if lastrect != req.Rect { @@ -131,7 +131,7 @@ fmt.Println(rect) return a.img.SubImage(rect).(*image.NRGBA) } func (a *areaHandler) Mouse(e MouseEvent) { - fmt.Printf("%#v\n", e) +// fmt.Printf("%#v\n", e) } var doArea = flag.Bool("area", false, "run area test instead") -- cgit v1.2.3