213d10bf4e
It makes the code harder to follow and saves little in terms of code duplication. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/654