f3c26ae17f
This small function is just called from a single place, drop it. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>