screencastService: Signal errors via the internal dbus interface

Make sure gnome-shell gets notified of errors that happen during screen
recording using the screencastService, so that it can properly notify the
user about the error and tear down its state, too.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2752>
This commit is contained in:
Jonas Dreßler
2023-04-26 12:29:57 +02:00
parent 80d72cfd32
commit c494597a91
3 changed files with 27 additions and 13 deletions

View File

@@ -92,5 +92,9 @@
<arg type="b" direction="out" name="success"/>
</method>
<signal name="Error">
<arg type="s" name="message"/>
</signal>
</interface>
</node>