From 5d7fe0d274a0fd1d98d45f4247fbe2a6c3dfc4e1 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 19 May 2008 17:23:20 -0400 Subject: disable fedora-fade-in plugin animaton timeout when animation is stopped --- src/splash-plugins/fedora-fade-in/fedora-fade-in.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/splash-plugins') diff --git a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c index 7d45700..1e01461 100644 --- a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c +++ b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c @@ -303,6 +303,13 @@ stop_animation (ply_boot_splash_plugin_t *plugin) 0.0, 0.0, 0.0, 1.0); ply_window_set_mode (plugin->window, PLY_WINDOW_MODE_TEXT); + + if (plugin->loop != NULL) + { + ply_event_loop_stop_watching_for_timeout (plugin->loop, + (ply_event_loop_timeout_handler_t) + on_timeout, plugin); + } } static void -- cgit