mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 20:08:17 +02:00
move detach_from_event_loop function up higher in file
This commit is contained in:
parent
a216145235
commit
d0f4639a70
1 changed files with 8 additions and 8 deletions
|
|
@ -474,6 +474,14 @@ update_status (ply_boot_splash_plugin_t *plugin,
|
|||
add_star (plugin);
|
||||
}
|
||||
|
||||
static void
|
||||
detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
plugin->loop = NULL;
|
||||
|
||||
set_text_mode (plugin);
|
||||
}
|
||||
|
||||
void
|
||||
hide_splash_screen (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
|
|
@ -485,14 +493,6 @@ hide_splash_screen (ply_boot_splash_plugin_t *plugin)
|
|||
ply_frame_buffer_close (plugin->frame_buffer);
|
||||
}
|
||||
|
||||
static void
|
||||
detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
plugin->loop = NULL;
|
||||
|
||||
set_text_mode (plugin);
|
||||
}
|
||||
|
||||
void
|
||||
attach_to_event_loop (ply_boot_splash_plugin_t *plugin,
|
||||
ply_event_loop_t *loop)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue