splash: drop SIGINT handlers

They serve no real purpose.

https://bugs.freedesktop.org/show_bug.cgi?id=42285
This commit is contained in:
Ray Strode 2012-06-08 15:11:52 -04:00
parent 251ddbfe7a
commit bb46ffb90a
5 changed files with 0 additions and 59 deletions

View file

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

View file

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

View file

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

View file

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

View file

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