
The Shell.Screenshot API expects valid output streams for writing the completed screenshot, not NULL. Handle this properly by returning an error instead of passing it on to the screenshot. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1123