diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-07 22:46:23 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-07 22:46:23 -0400 |
| commit | d874148760328786c9d12f871a27b97be0774a6d (patch) | |
| tree | 0ab7bc04bcf57e47bcb34209b8b731ec81039cc0 /redo/window.go | |
| parent | dccf548ffa64702bc058d7d8288127212b8bdce0 (diff) | |
Fixed most compilation errors and added GTK+ string helper functions to common_unix.go.
Diffstat (limited to 'redo/window.go')
| -rw-r--r-- | redo/window.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/redo/window.go b/redo/window.go index 27160c2..fd5c437 100644 --- a/redo/window.go +++ b/redo/window.go @@ -41,6 +41,7 @@ func NewWindow(title string, width int, height int) *Request { // Example: // w := ui.GetNewWindow(ui.Do, "Main Window") func GetNewWindow(c Doer, title string, width int, height int) Window { - c <- newWindow(title, width, height) - return (<-c.resp).(Window) + req := newWindow(title, width, height) + c <- req + return (<-req.resp).(Window) } |
