]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Update progress as soon as the splash is shown
authorCharles Brej <cbrej@cs.man.ac.uk>
Wed, 19 Nov 2008 16:18:08 +0000 (16:18 +0000)
committerCharles Brej <cbrej@cs.man.ac.uk>
Wed, 19 Nov 2008 16:18:08 +0000 (16:18 +0000)
src/ply-boot-splash.c

index c40c7501f8a7979bac037d4062d645852be09638..8ab5cad88339a43224c35dd6d8494047873a508d 100644 (file)
@@ -241,10 +241,7 @@ ply_boot_splash_show (ply_boot_splash_t *splash)
 
   if (splash->plugin_interface->on_boot_progress != NULL)
     {
-      ply_event_loop_watch_for_timeout (splash->loop,
-                                        1.0 / UPDATES_PER_SECOND,
-                                        (ply_event_loop_timeout_handler_t)
-                                        ply_boot_splash_update_progress, splash);
+      ply_boot_splash_update_progress (splash)
     }
 
   splash->is_shown = true;