Don't call setenv after threads were started
@hadess
Submitted by Bastien Nocera Link to original bug (#702110)
Description
Otherwise we could end up with the same crashes as in gnome-settings-daemon: https://bugzilla.gnome.org/show_bug.cgi?id=701322