1812db7aa8
This avoid some (harmless but annoying) warnings, and is closer to the original code prior to commit fc342fe8c5 and 557b232c896. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3022