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/uitask_unix.go | |
| parent | dccf548ffa64702bc058d7d8288127212b8bdce0 (diff) | |
Fixed most compilation errors and added GTK+ string helper functions to common_unix.go.
Diffstat (limited to 'redo/uitask_unix.go')
| -rw-r--r-- | redo/uitask_unix.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redo/uitask_unix.go b/redo/uitask_unix.go index 211349b..69e2350 100644 --- a/redo/uitask_unix.go +++ b/redo/uitask_unix.go @@ -12,8 +12,8 @@ import ( import "C" func uiinit() error { - // TODO replace with the eerror-checking version - C.gtk_init() + // TODO replace with the error-checking version + C.gtk_init(nil, nil) return nil } @@ -29,6 +29,6 @@ func issue(req *Request) { func doissue(data C.gpointer) C.gboolean { req := (*Request)(unsafe.Pointer(data)) req.op() - close(req.done) + close(req.resp) return C.FALSE // don't repeat } |
