From bb9e2eb0600e7160deb4f0ebb67dfb7cc3bb93b9 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 23 Jun 2001 07:14:23 +0000 Subject: Fix a bunch of stupid warnings caused by missing includes. Also placate GCC on a bogus "uninitialized variable" error. svn path=/trunk/; revision=10438 --- shell/e-shell.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/e-shell.c') 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); } -- cgit v1.2.3