]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
disable fedora-fade-in plugin animaton timeout when animation is stopped
authorRay Strode <rstrode@redhat.com>
Mon, 19 May 2008 21:23:20 +0000 (17:23 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 19 May 2008 21:24:28 +0000 (17:24 -0400)
src/splash-plugins/fedora-fade-in/fedora-fade-in.c

index 7d457006598272be8df5761d98bd3986fa776abe..1e014615c9ae12bd4a17e64941e0cfb52eeeb55d 100644 (file)
@@ -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