component-loader: pass core and cancellable parameters in load()

Regarding the core parameter, the case used to be that WpComponentLoader
was a WpPlugin, so it had a reference to the core internally, but since
this is no longer a requirement, we need to pass this explicitly
This commit is contained in:
George Kiagiadakis
2023-05-26 13:04:10 +03:00
parent eb180cebe8
commit 843e7ef4dd
15 changed files with 41 additions and 40 deletions

View File

@@ -94,7 +94,7 @@ wp_require_api_transition_execute_step (WpTransition * transition, guint step)
"libwireplumber-module-%s", api_name);
self->pending_plugins++;
wp_core_load_component (core, module_name, "module", NULL,
wp_core_load_component (core, module_name, "module", NULL, NULL,
(GAsyncReadyCallback) on_plugin_loaded, self);
}
}