summaryrefslogtreecommitdiff
path: root/link_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'link_unix.go')
-rw-r--r--link_unix.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/link_unix.go b/link_unix.go
index 597dc44..e06cb12 100644
--- a/link_unix.go
+++ b/link_unix.go
@@ -7,3 +7,7 @@ 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
+}