mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-04-22 04:50:38 +02:00
dbus: fix bus type check when getting instance
This commit is contained in:
parent
2e9549e168
commit
3efb83ef08
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ wp_dbus_get_instance (WpCore *core, GBusType bus_type)
|
|||
|
||||
g_return_val_if_fail (core, NULL);
|
||||
g_return_val_if_fail (
|
||||
bus_type != G_BUS_TYPE_NONE || bus_type != G_BUS_TYPE_STARTER, NULL);
|
||||
bus_type != G_BUS_TYPE_NONE && bus_type != G_BUS_TYPE_STARTER, NULL);
|
||||
|
||||
registry = wp_core_get_registry (core);
|
||||
dbus = wp_registry_find_object (registry, (GEqualFunc) find_dbus_func,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue