Cleanup argument names in methods and events interfaces

First method argument is object, first event argument is data.

Closes !963
This commit is contained in:
Quentin Wenger 2021-09-27 15:09:32 +02:00 committed by Wim Taymans
parent d3ea3142e1
commit 22fc9eec35
55 changed files with 636 additions and 636 deletions

View file

@ -603,15 +603,15 @@ static const struct pw_module_events module_events = {
.info = module_event_info
};
static void removed_proxy(void *user_data)
static void removed_proxy(void *data)
{
struct global *g = user_data;
struct global *g = data;
pw_proxy_destroy(g->proxy);
}
static void destroy_proxy(void *user_data)
static void destroy_proxy(void *data)
{
struct global *g = user_data;
struct global *g = data;
spa_hook_remove(&g->object_listener);
spa_hook_remove(&g->proxy_listener);
}