f54229efd2
It needs to be called as early as possible before unit tests has a chance to import gtk. Hopefully will fix random test failures we are seeing in buildbot.