mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 13:38:45 +02:00
splash: drop SIGINT handlers
They serve no real purpose. https://bugs.freedesktop.org/show_bug.cgi?id=42285
This commit is contained in:
parent
251ddbfe7a
commit
bb46ffb90a
5 changed files with 0 additions and 59 deletions
|
|
@ -610,13 +610,6 @@ stop_animation (ply_boot_splash_plugin_t *plugin)
|
|||
redraw_views (plugin);
|
||||
}
|
||||
|
||||
static void
|
||||
on_interrupt (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
ply_event_loop_exit (plugin->loop, 1);
|
||||
stop_animation (plugin);
|
||||
}
|
||||
|
||||
static void
|
||||
detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
|
|
@ -817,10 +810,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
ply_event_loop_watch_for_exit (loop, (ply_event_loop_exit_handler_t)
|
||||
detach_from_event_loop,
|
||||
plugin);
|
||||
ply_event_loop_watch_signal (plugin->loop,
|
||||
SIGINT,
|
||||
(ply_event_handler_t)
|
||||
on_interrupt, plugin);
|
||||
|
||||
if (!load_views (plugin))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -355,13 +355,6 @@ stop_animation (ply_boot_splash_plugin_t *plugin)
|
|||
script_parse_op_free (plugin->script_main_op);
|
||||
}
|
||||
|
||||
static void
|
||||
on_interrupt (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
ply_event_loop_exit (plugin->loop, 1);
|
||||
stop_animation (plugin);
|
||||
}
|
||||
|
||||
static void
|
||||
detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
|
|
@ -432,11 +425,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
detach_from_event_loop,
|
||||
plugin);
|
||||
|
||||
ply_event_loop_watch_signal (plugin->loop,
|
||||
SIGINT,
|
||||
(ply_event_handler_t)
|
||||
on_interrupt, plugin);
|
||||
|
||||
ply_trace ("starting boot animation");
|
||||
return start_animation (plugin);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1262,13 +1262,6 @@ stop_animation (ply_boot_splash_plugin_t *plugin)
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
on_interrupt (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
ply_event_loop_exit (plugin->loop, 1);
|
||||
stop_animation (plugin);
|
||||
}
|
||||
|
||||
static void
|
||||
detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
|
|
@ -1697,11 +1690,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
detach_from_event_loop,
|
||||
plugin);
|
||||
|
||||
ply_event_loop_watch_signal (plugin->loop,
|
||||
SIGINT,
|
||||
(ply_event_handler_t)
|
||||
on_interrupt, plugin);
|
||||
|
||||
ply_trace ("starting boot animation");
|
||||
|
||||
start_animation (plugin);
|
||||
|
|
|
|||
|
|
@ -553,13 +553,6 @@ stop_animation (ply_boot_splash_plugin_t *plugin,
|
|||
ply_trigger_pull (trigger, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
on_interrupt (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
ply_event_loop_exit (plugin->loop, 1);
|
||||
stop_animation (plugin, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
|
|
@ -682,11 +675,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
detach_from_event_loop,
|
||||
plugin);
|
||||
|
||||
ply_event_loop_watch_signal (plugin->loop,
|
||||
SIGINT,
|
||||
(ply_event_handler_t)
|
||||
on_interrupt, plugin);
|
||||
|
||||
ply_trace ("starting boot animation");
|
||||
start_animation (plugin);
|
||||
|
||||
|
|
|
|||
|
|
@ -784,13 +784,6 @@ stop_animation (ply_boot_splash_plugin_t *plugin,
|
|||
ply_trigger_pull (trigger, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
on_interrupt (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
ply_event_loop_exit (plugin->loop, 1);
|
||||
stop_animation (plugin, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
detach_from_event_loop (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
|
|
@ -1016,11 +1009,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
detach_from_event_loop,
|
||||
plugin);
|
||||
|
||||
ply_event_loop_watch_signal (plugin->loop,
|
||||
SIGINT,
|
||||
(ply_event_handler_t)
|
||||
on_interrupt, plugin);
|
||||
|
||||
ply_trace ("starting boot animations");
|
||||
start_progress_animation (plugin);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue