}
static void
-on_hide_splash (state_t *state)
+quit_splash (state_t *state)
{
-
- ply_trace ("hiding boot splash");
if (state->boot_splash != NULL)
{
- ply_boot_splash_hide (state->boot_splash);
ply_boot_splash_free (state->boot_splash);
state->boot_splash = NULL;
}
}
}
+static void
+on_hide_splash (state_t *state)
+{
+
+ ply_trace ("hiding boot splash");
+ if (state->boot_splash != NULL)
+ ply_boot_splash_hide (state->boot_splash);
+
+ quit_splash (state);
+}
+
#ifdef PLY_ENABLE_GDM_TRANSITION
static void
tell_gdm_to_transition (void)
{
if (!retain_splash)
on_hide_splash (state);
+ else
+ quit_splash (state);
ply_boot_splash_free (state->boot_splash);
state->boot_splash = NULL;
}