From dc108a5d4dc79fa680fdad596e0b96dab3257895 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Aug 2018 16:10:47 -0400 Subject: Removed ensureMainThread() now that the latest Go has a guarantee (which was always true) about the main thread given runtime.LockOSThread() in init(). --- link_linux_amd64.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'link_linux_amd64.go') 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 -} -- cgit v1.2.3