summaryrefslogtreecommitdiff
path: root/link_linux_amd64.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2018-08-11 16:10:47 -0400
committerPietro Gagliardi <[email protected]>2018-08-11 16:10:47 -0400
commitdc108a5d4dc79fa680fdad596e0b96dab3257895 (patch)
tree0743f6c2d9b7fb1097ccfd6efb000abaddbf5072 /link_linux_amd64.go
parent6c3bda44d3039e3721c06516be3ab9ce9cbd48cc (diff)
Removed ensureMainThread() now that the latest Go has a guarantee (which was always true) about the main thread given runtime.LockOSThread() in init().
Diffstat (limited to 'link_linux_amd64.go')
-rw-r--r--link_linux_amd64.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/link_linux_amd64.go b/link_linux_amd64.go
index 6d3d568..a1b2b3b 100644
--- a/link_linux_amd64.go
+++ b/link_linux_amd64.go
@@ -8,7 +8,3 @@ package ui
// #cgo LDFLAGS: ${SRCDIR}/libui_linux_amd64.a -lm -ldl
// #cgo pkg-config: gtk+-3.0
import "C"
-
-func ensureMainThread() {
- // do nothing; GTK+ doesn't care which thread we're on so long as we don't change it after starting
-}