mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 10:28:03 +02:00
endpoint: remove useless pw_proxy_destroyed handlers
This commit is contained in:
parent
d264bc460c
commit
3485befc81
1 changed files with 3 additions and 16 deletions
|
|
@ -140,14 +140,6 @@ wp_endpoint_pw_proxy_created (WpProxy * proxy, struct pw_proxy * pw_proxy)
|
|||
endpoint, &endpoint_events);
|
||||
}
|
||||
|
||||
static void
|
||||
wp_endpoint_pw_proxy_destroyed (WpProxy * proxy)
|
||||
{
|
||||
wp_pw_object_mixin_handle_pw_proxy_destroyed (proxy);
|
||||
|
||||
wp_object_update_features (WP_OBJECT (proxy), 0, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
wp_endpoint_class_init (WpEndpointClass * klass)
|
||||
{
|
||||
|
|
@ -166,7 +158,8 @@ wp_endpoint_class_init (WpEndpointClass * klass)
|
|||
proxy_class->pw_iface_type = PW_TYPE_INTERFACE_Endpoint;
|
||||
proxy_class->pw_iface_version = PW_VERSION_ENDPOINT;
|
||||
proxy_class->pw_proxy_created = wp_endpoint_pw_proxy_created;
|
||||
proxy_class->pw_proxy_destroyed = wp_endpoint_pw_proxy_destroyed;
|
||||
proxy_class->pw_proxy_destroyed =
|
||||
wp_pw_object_mixin_handle_pw_proxy_destroyed;
|
||||
|
||||
wp_pw_object_mixin_class_override_properties (object_class);
|
||||
|
||||
|
|
@ -716,12 +709,6 @@ wp_impl_endpoint_activate_execute_step (WpObject * object,
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
wp_impl_endpoint_pw_proxy_destroyed (WpProxy * proxy)
|
||||
{
|
||||
wp_object_update_features (WP_OBJECT (proxy), 0, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
wp_impl_endpoint_class_init (WpImplEndpointClass * klass)
|
||||
{
|
||||
|
|
@ -740,7 +727,7 @@ wp_impl_endpoint_class_init (WpImplEndpointClass * klass)
|
|||
wp_impl_endpoint_activate_execute_step;
|
||||
|
||||
proxy_class->pw_proxy_created = NULL;
|
||||
proxy_class->pw_proxy_destroyed = wp_impl_endpoint_pw_proxy_destroyed;
|
||||
proxy_class->pw_proxy_destroyed = NULL;
|
||||
|
||||
g_object_class_install_property (object_class, IMPL_PROP_ITEM,
|
||||
g_param_spec_object ("item", "item", "item", WP_TYPE_SI_ENDPOINT,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue