Draft: gjs-util: make gjs_setlocale thread-safe
All GJS programs are multi-threaded, so its bad that gjs_setlocale isn't thread safe.
This commit makes gjs_setlocale use uselocale to change the locale of the current thread instead of setlocale.
All GJS programs are multi-threaded, so its bad that gjs_setlocale isn't thread safe.
This commit makes gjs_setlocale use uselocale to change the locale of the current thread instead of setlocale.