summaryrefslogtreecommitdiff
path: root/link_unix.go
blob: e06cb122ee5ae8ce40307367a32815edad670ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// +build !windows
// +build !darwin

// 11 december 2015

package ui

// #cgo LDFLAGS: -L${SRCDIR} -lui -Wl,-rpath=$ORIGIN
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
}