From 1ec380a44e58c7f875dddfc1b5b68563c22ee338 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 24 Sep 2008 22:39:11 -0400 Subject: [PATCH] Ignore extra calls to --show-splash --- src/ply-boot-splash.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ply-boot-splash.c b/src/ply-boot-splash.c index 7f606448..844116a0 100644 --- a/src/ply-boot-splash.c +++ b/src/ply-boot-splash.c @@ -159,6 +159,9 @@ ply_boot_splash_show (ply_boot_splash_t *splash) assert (splash->module_name != NULL); assert (splash->loop != NULL); + if (splash->is_shown) + return true; + ply_trace ("trying to load %s", splash->module_name); if (!ply_boot_splash_load_plugin (splash)) {