pipewire: module-portal: watch only relevant NameOwnerChanged signals

This commit is contained in:
Barnabás Pőcze 2023-12-30 02:28:30 +01:00 committed by Wim Taymans
parent 6e609c93e5
commit 542e6c652c

View file

@ -255,7 +255,8 @@ static int init_dbus_connection(struct impl *impl)
"type='signal',\
sender='org.freedesktop.DBus',\
interface='org.freedesktop.DBus',\
member='NameOwnerChanged'",
member='NameOwnerChanged',\
arg0='" PORTAL_SERVICE_NAME "'",
&error);
if (dbus_error_is_set(&error)) {
pw_log_error("Failed to add name owner changed listener: %s",