screencast: Correct expected bus name for streams

Previously, this only worked because GDBusConnection was not filtering
signals by their sender correctly (GNOME/glib#3268).

Thanks: Alicia Boya García
Signed-off-by: Simon McVittie <smcv@debian.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303>
(cherry picked from commit 50a011a19d)
This commit is contained in:
Simon McVittie 2024-05-06 21:58:09 +01:00 committed by Florian Müllner
parent d40d4153bd
commit b55368b22d
No known key found for this signature in database

View file

@ -255,7 +255,7 @@ class Recorder extends Signals.EventEmitter {
});
this._streamProxy = new ScreenCastStreamProxy(Gio.DBus.session,
'org.gnome.ScreenCast.Stream',
'org.gnome.Mutter.ScreenCast',
streamPath);
this._streamProxy.connectSignal('PipeWireStreamAdded',