From: Ray Strode Date: Mon, 19 May 2008 21:23:20 +0000 (-0400) Subject: disable fedora-fade-in plugin animaton timeout when animation is stopped X-Git-Tag: 0.1.0~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7fe0d274a0fd1d98d45f4247fbe2a6c3dfc4e1;p=thirdparty%2Fplymouth.git disable fedora-fade-in plugin animaton timeout when animation is stopped --- 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 7d457006..1e014615 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