See GNOME/glib#2348 for background. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #1318