Merge branch 'system-update' into 'master'

Fix SetSystemUpdateFunction

Closes #79

See merge request plymouth/plymouth!96
This commit is contained in:
Ray Strode 2020-03-10 14:09:55 +00:00
commit 0c8b2f0dda

View file

@ -425,6 +425,15 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
return start_animation (plugin);
}
static void
system_update (ply_boot_splash_plugin_t *plugin,
int progress)
{
script_lib_plymouth_on_system_update( plugin->script_state,
plugin->script_plymouth_lib,
progress);
}
static void
update_status (ply_boot_splash_plugin_t *plugin,
const char *status)
@ -534,6 +543,7 @@ ply_boot_splash_plugin_get_interface (void)
.add_pixel_display = add_pixel_display,
.remove_pixel_display = remove_pixel_display,
.show_splash_screen = show_splash_screen,
.system_update = system_update,
.update_status = update_status,
.on_boot_progress = on_boot_progress,
.hide_splash_screen = hide_splash_screen,