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/ChangeLog | 12 ++++++++++++ shell/e-setup.c | 5 +++-- shell/e-shell-view-menu.c | 3 +++ shell/e-shell.c | 4 +++- shell/importer/intelligent.c | 4 ++++ 5 files changed, 25 insertions(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 8c77ae36f1..9de97b9b80 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,15 @@ +2001-06-23 Ettore Perazzoli + + * e-shell.c (e_shell_construct): Set `splash' to NULL when + @show_splash is false, so the compiler doesn't complain. + + * e-shell-view-menu.c: #include . + + * e-setup.c: #include . + + * importer/intelligent.c: #include and + . + 2001-06-23 Ettore Perazzoli * e-shell-view.c: New member `menu_hint_label' in diff --git a/shell/e-setup.c b/shell/e-setup.c index a1698be510..f70b7b00ff 100644 --- a/shell/e-setup.c +++ b/shell/e-setup.c @@ -30,8 +30,9 @@ #include #include #include -#include /* rename() */ -#include /* strlen() */ +#include +#include +#include #include #include diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 09ea066bcf..5f314ade50 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -28,7 +28,10 @@ #include #include + #include +#include + #include #include #include 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); } diff --git a/shell/importer/intelligent.c b/shell/importer/intelligent.c index be9863e8d7..260b62ea77 100644 --- a/shell/importer/intelligent.c +++ b/shell/importer/intelligent.c @@ -27,8 +27,12 @@ #endif #include "intelligent.h" + #include + +#include #include +#include #include #include #include -- cgit v1.2.3