update for new API

This commit is contained in:
Wim Taymans 2019-05-21 15:36:44 +02:00
parent 71cab0c385
commit a1a5ae1d68

View file

@ -771,7 +771,6 @@ pa_operation* pa_context_subscribe(pa_context *c, pa_subscription_mask_t m, pa_c
if (c->registry_proxy == NULL) {
c->registry_proxy = pw_core_proxy_get_registry(c->core_proxy,
PW_TYPE_INTERFACE_Registry,
PW_VERSION_REGISTRY, 0);
pw_registry_proxy_add_listener(c->registry_proxy,
&c->registry_listener,