
The method currently returns the stage itself when the property is NULL. This has become particularly problematic as the method is detected as getter by gobject introspection, and gjs now optimizes property accesses by calling the getter method instead. Address this by turning the method into a genuine getter without falling back to the stage. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4256>