Fix a bunch of stupid warnings caused by missing includes. Also
placate GCC on a bogus "uninitialized variable" error. svn path=/trunk/; revision=10438
This commit is contained in:
@ -1,3 +1,15 @@
|
||||
2001-06-23 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* 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 <gtk/gtkmain.h>.
|
||||
|
||||
* e-setup.c: #include <unistd.h>.
|
||||
|
||||
* importer/intelligent.c: #include <gtk/gtkhbox.h> and
|
||||
<gtk/gtkdrawingarea.h>.
|
||||
|
||||
2001-06-23 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-shell-view.c: New member `menu_hint_label' in
|
||||
|
||||
@ -30,8 +30,9 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <stdio.h> /* rename() */
|
||||
#include <string.h> /* strlen() */
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <libgnome/gnome-defs.h>
|
||||
|
||||
@ -28,7 +28,10 @@
|
||||
#include <config.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <gtk/gtksignal.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
|
||||
#include <libgnome/gnome-defs.h>
|
||||
#include <libgnome/gnome-exec.h>
|
||||
#include <libgnome/gnome-i18n.h>
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
@ -27,8 +27,12 @@
|
||||
#endif
|
||||
|
||||
#include "intelligent.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <gtk/gtkdrawingarea.h>
|
||||
#include <gtk/gtkbox.h>
|
||||
#include <gtk/gtkhbox.h>
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
#include <gtk/gtklabel.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
|
||||
Reference in New Issue
Block a user