diff options
| author | Ray Strode <rstrode@redhat.com> | 2007-06-06 18:23:24 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2007-06-06 18:23:24 -0400 |
| commit | 86898c1fce2912f9baa9c5fe9941dbaa172980bb (patch) | |
| tree | 79eba850f72df82b4ebd9d9c38c9b8560a53181a /src | |
| parent | dc93a9bc16c6c05a70474982d1b9414171eabb7c (diff) | |
| download | plymouth-86898c1fce2912f9baa9c5fe9941dbaa172980bb.tar.gz plymouth-86898c1fce2912f9baa9c5fe9941dbaa172980bb.tar.xz plymouth-86898c1fce2912f9baa9c5fe9941dbaa172980bb.zip | |
check for plugin failure in the boot splash test program,
change the location we look for the plugin
Diffstat (limited to 'src')
| -rw-r--r-- | src/ply-boot-splash.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ply-boot-splash.c b/src/ply-boot-splash.c index 9a47f33..f7e9cf8 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)) |
