diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-25 23:21:57 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-25 23:21:57 -0400 |
| commit | 1eeadc000ae796bd022879196c4f2bae3bb189de (patch) | |
| tree | e63f905f533f183935850b04f5ab8356e06e7084 /sysdata.go | |
| parent | 9a3e73b46001219177bb13a381420007217dfecf (diff) | |
Made the new sizing system work on Windows.
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 } |
