Do not run GTK code in a thread