diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-28 00:13:18 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-28 00:13:18 -0400 |
| commit | 73fcb4e22d4f90e61165f5cdb438f3a4b224ad4c (patch) | |
| tree | bfc46d1f8cd5c69b47c0ec391c404ca4d9c54aaa /tab_darwin.go | |
| parent | 6b27bd732743948e0002abe4d452212fad8ac045 (diff) | |
Fixed Mac OS X issues.
Diffstat (limited to 'tab_darwin.go')
| -rw-r--r-- | tab_darwin.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tab_darwin.go b/tab_darwin.go index 9f5ecff..7a8aefe 100644 --- a/tab_darwin.go +++ b/tab_darwin.go @@ -24,10 +24,9 @@ func newTab() Tab { } func (t *tab) Append(name string, control Control) { - c := newContainer() + c := newContainer(control.resize) t.tabs = append(t.tabs, c) control.setParent(c.parent()) - c.resize = control.resize t.children = append(t.children, control) cname := C.CString(name) defer C.free(unsafe.Pointer(cname)) |
