From: Ray Strode Date: Wed, 6 Jun 2007 22:23:24 +0000 (-0400) Subject: check for plugin failure in the boot splash test program, X-Git-Tag: 0.1.0~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86898c1fce2912f9baa9c5fe9941dbaa172980bb;p=thirdparty%2Fplymouth.git check for plugin failure in the boot splash test program, change the location we look for the plugin --- diff --git a/src/ply-boot-splash.c b/src/ply-boot-splash.c index 9a47f333..f7e9cf8f 100644 --- a/src/ply-boot-splash.c +++ b/src/ply-boot-splash.c @@ -155,7 +155,8 @@ ply_boot_splash_show (ply_boot_splash_t *splash) splash->plugin_interface->attach_to_event_loop (splash->plugin, splash->loop); - splash->plugin_interface->show_splash_screen (splash->plugin); + if (!splash->plugin_interface->show_splash_screen (splash->plugin)) + return false; splash->is_shown = true; return true; @@ -230,7 +231,7 @@ main (int argc, loop = ply_event_loop_new (); - splash = ply_boot_splash_new ("./fedora-fade-in.so"); + splash = ply_boot_splash_new ("../splash-plugins/.libs/fedora-fade-in.so"); ply_boot_splash_attach_to_event_loop (splash, loop); if (!ply_boot_splash_show (splash))