summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
Diffstat (limited to 'area.go')
-rw-r--r--area.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/area.go b/area.go
index 983c547..93f319e 100644
--- a/area.go
+++ b/area.go
@@ -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()
}