It needs to open a display connection, which is obviously going to fail miserably on any headless build machine. Instead, we need to find where we started requiring to initialize GTK when calling a get_type() function, and stop doing that. This commit and commit15cc85db29
fully revert commit6838861d26
.