diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-17 14:09:09 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-17 14:09:09 -0400 |
| commit | 0e8680c04f3b364352a57e686bc93d018c6140e3 (patch) | |
| tree | fbbab88400e8a6060cb59180aa63f2d958b2af52 /grid.go | |
| parent | bdb26046b6e91b1cf1a3d752fc36edd059ee5a58 (diff) | |
Dumped the mutex locks from the other controls and elaborated/asked for help in the README.
Diffstat (limited to 'grid.go')
| -rw-r--r-- | grid.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -121,9 +121,6 @@ func (g *Grid) make(window *sysData) error { } func (g *Grid) setRect(x int, y int, width int, height int, winheight int) error { - g.lock.Lock() - defer g.lock.Unlock() - max := func(a int, b int) int { if a > b { return a @@ -188,9 +185,6 @@ func (g *Grid) setRect(x int, y int, width int, height int, winheight int) error // filling and stretchy are ignored for preferred size calculation func (g *Grid) preferredSize() (width int, height int) { - g.lock.Lock() - defer g.lock.Unlock() - max := func(a int, b int) int { if a > b { return a |
