8d6820c4df
The intention of the code is clearly to operate on a copy, but that's not how the Object constructor works. While it doesn't matter in practice that we modify the passed-in object parameter, it's still a good idea to fix the code. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731