summaryrefslogtreecommitdiff
path: root/delegate_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-13 09:40:19 -0400
committerPietro Gagliardi <[email protected]>2014-05-13 09:40:19 -0400
commit62b3c26107a90764e95b8ad0b87e4d021891f4d6 (patch)
treef19080e2ed6a1497b20655191ccddfd8b407faf3 /delegate_darwin.go
parent11ef974b4875216b401584065d59e32b629bf5bc (diff)
Removed the class creation at runtime stuff and its residue from the Go files. This also cleans up the initialization stuff on the Go side too.
Diffstat (limited to 'delegate_darwin.go')
-rw-r--r--delegate_darwin.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/delegate_darwin.go b/delegate_darwin.go
index a3f7486..34dfec7 100644
--- a/delegate_darwin.go
+++ b/delegate_darwin.go
@@ -25,18 +25,13 @@ var (
appDelegate C.id
)
-const (
- _goAppDelegate = "goAppDelegate"
-)
-
var (
_uitask = sel_getUid("uitask:") // used by uitask_darwin.go
_buttonClicked = sel_getUid("buttonClicked:") // used by sysdata_darwin.go
)
-func mkAppDelegate() error {
+func makeAppDelegate() {
appDelegate = C.makeAppDelegate()
- return nil
}
//export appDelegate_windowShouldClose