summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-06-06 18:23:24 -0400
committerRay Strode <rstrode@redhat.com>2007-06-06 18:23:24 -0400
commit86898c1fce2912f9baa9c5fe9941dbaa172980bb (patch)
tree79eba850f72df82b4ebd9d9c38c9b8560a53181a /src
parentdc93a9bc16c6c05a70474982d1b9414171eabb7c (diff)
downloadplymouth-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.c5
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))