Change GsPluginJobUpdateApps to filter app lists passed to plugins
As per #2101 (closed), all the plugins’ implementations of the update_apps_async()
vfunc currently filter the input GsAppList
down to the apps where gs_app_has_management_plugin (app, this_plugin)
is true. Bug #2101 (closed) arose because one plugin (eos-updater) wasn’t doing that.
It would simplify the plugin code and make things more robust if this filtering was done in GsPluginJobUpdateApps
, so that each plugin’s vfunc is only called with a list of apps which belong to that plugin --- and not called at all if there are no apps to update for that plugin.
We can’t do that for the 44 cycle, though, as it’s a bit of an API change and it’s too late in the cycle for that.