aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 01392b0025..de38dbcdfc 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -776,7 +776,9 @@ e_shell_construct (EShell *shell,
if (register_shell (shell, iid) != OAF_REG_SUCCESS)
return FALSE;
- if (show_splash) {
+ if (! show_splash) {
+ splash = NULL;
+ } else {
splash = e_splash_new ();
gtk_widget_show (splash);
}