Remove use of deprecated static threads api since glib v2.32.