Originally created by @segfault on #17285 (Redmine)
See https://gitlab.gnome.org/GNOME/gtk/merge_requests/1018