From 922407d5b6e8093d6f6239e43d50b7e20b38c748 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 18 Oct 2014 16:12:41 -0400 Subject: [PATCH] Fixed buid errors. --- newctrl/tab_darwin.go | 4 ++-- 1 file 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