proxy: add pw_proxy_set_bound_id

Add method to set bound_id and emit the signal.

Rename resource_bound_id -> resource_set_bound_id and add
resource_get_bound_id.
This commit is contained in:
Wim Taymans 2019-12-10 12:19:11 +01:00
parent 030d2a075b
commit 5a2ad084e8
18 changed files with 50 additions and 15 deletions

View file

@ -300,7 +300,7 @@ int session_init(struct session *this,
this->info.id = this->global->id;
this->info.props = &this->props->dict;
pw_resource_bound_id(client_sess->resource, this->global->id);
pw_resource_set_bound_id(client_sess->resource, this->global->id);
return pw_global_register(this->global);