diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-30 20:55:42 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-30 20:55:42 -0400 |
| commit | 46ba0049cb80d8b6973c3146b40ceceaead710ed (patch) | |
| tree | 425bb58415d1d06c15c3b23f592ed686b8c536a2 /button.go | |
| parent | 496df12751b029caa7dbbb9480c1a81f242f1c6d (diff) | |
Converted the Windows backend to make uitask a function that runs the func() passed into it, rather than a channel that sends the function to another dispatcher. Windows lets us, since SendMessage() will switch threads if called form another thread. This gets rid of one goroutine and makes things cleaner. Mac OS X has the same optimization avaialble (performSelectorOnMainThread:); GTK+... doesn't seem to...
Diffstat (limited to 'button.go')
0 files changed, 0 insertions, 0 deletions
