move detach_from_event_loop function up higher in file

This commit is contained in:
Ray Strode 2008-05-14 00:13:26 -04:00
parent a216145235
commit d0f4639a70

View file

@ -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)