diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-17 13:37:51 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-17 13:37:51 -0400 |
| commit | 4adf1ae5cdc4d0aa0005ee68f4c1195a7f0d73b7 (patch) | |
| tree | 5322a75d7367a7533aa6b9210d7c8f45a3bab37b /area.go | |
| parent | 7c3647712b38e08a8f0daa970ab1a2b0857df8b0 (diff) | |
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.
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -122,15 +122,9 @@ func (a *Area) make(window *sysData) error { } func (a *Area) setRect(x int, y int, width int, height int, winheight int) error { - a.lock.Lock() - defer a.lock.Unlock() - return a.sysData.setRect(x, y, width, height, winheight) } func (a *Area) preferredSize() (width int, height int) { - a.lock.Lock() - defer a.lock.Unlock() - return a.sysData.preferredSize() } |
