summaryrefslogtreecommitdiff
path: root/newctrl/tab_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'newctrl/tab_darwin.go')
-rw-r--r--newctrl/tab_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/newctrl/tab_darwin.go b/newctrl/tab_darwin.go
index 8bc1276..112b81e 100644
--- a/newctrl/tab_darwin.go
+++ b/newctrl/tab_darwin.go
@@ -13,14 +13,14 @@ type tab struct {
*controlSingleObject
tabs []*container
children []Control
- chainresize func(x int, y int, width int, height int
+ chainresize func(x int, y int, width int, height int, d *sizing)
}
func newTab() Tab {
t := &tab{
controlSingleObject: newControlSingleObject(C.newTab()),
}
- t.fpreferredsize = t.xpreferredsize
+ t.fpreferredSize = t.xpreferredSize
t.chainresize = t.fresize
t.fresize = t.xresize
return t