diff options
Diffstat (limited to 'sysdata.go')
| -rw-r--r-- | sysdata.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -13,7 +13,7 @@ func newEvent() chan struct{} { type cSysData struct { ctype int event chan struct{} - resize func(x int, y int, width int, height int, rr *[]resizerequest) + allocate func(x int, y int, width int, height int, d *sysSizeData) []*allocation spaced bool alternate bool // editable for Combobox, multi-select for listbox, password for lineedit handler AreaHandler // for Areas @@ -75,8 +75,5 @@ func mksysdata(ctype int) *sysData { ctype: ctype, }, } - if ctype == c_window { // make resizes non-nil so it can be passed in - s.resizes = make([]resizerequest, 0, 0) - } return s } |
