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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user