diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-17 17:19:31 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-17 17:19:31 -0500 |
| commit | dc32a0e27a14d21fbbe7943a5904d48836b94dd7 (patch) | |
| tree | 0e2fd96ac0933721c479da9f2879ebcf1e400346 /zz_test.go | |
| parent | 62d9ae07ade0857e838e5e10502a34501f88fd04 (diff) | |
More ImageList removal.
Diffstat (limited to 'zz_test.go')
| -rw-r--r-- | zz_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -67,7 +67,6 @@ type testwin struct { openbtn Button fnlabel Label icons []icon - il ImageList icontbl Table group2 Group group Group @@ -185,7 +184,7 @@ func (tw *testwin) make(done chan struct{}) { tw.roro.SetText(tw.roenter.Text()) }) tw.t.Append("Read-Only", newVerticalStack(tw.roenter, tw.roro)) - tw.icons, tw.il = readIcons() // repainter uses these + tw.icons = readIcons() // repainter uses these tw.repainter = newRepainter(15) tw.t.Append("Repaint", tw.repainter.grid) tw.addfe() @@ -194,7 +193,6 @@ func (tw *testwin) make(done chan struct{}) { idq := tw.icontbl.Data().(*[]icon) *idq = tw.icons tw.icontbl.Unlock() - tw.icontbl.LoadImageList(tw.il) tw.icontbl.OnSelected(func() { s := fmt.Sprintf("%d ", tw.icontbl.Selected()) tw.icontbl.RLock() |
