summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-18 16:12:41 -0400
committerPietro Gagliardi <[email protected]>2014-10-18 16:12:41 -0400
commit922407d5b6e8093d6f6239e43d50b7e20b38c748 (patch)
tree849079fce9dfaaa64af2171af94f4ece57a2b299
parentcb19b4586bcb0a431ecdef816d606afc825945da (diff)
Fixed buid errors.
-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