diff options
-rw-r--r-- | mail/ChangeLog | 14 | ||||
-rw-r--r-- | mail/mail-account-gui.c | 1 | ||||
-rw-r--r-- | mail/mail-composer-prefs.c | 6 | ||||
-rw-r--r-- | mail/mail-importer.c | 1 | ||||
-rw-r--r-- | mail/mail-signature-editor.c | 1 |
5 files changed, 20 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6197aa6480..cbc865c72d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,17 @@ +2002-09-23 Dan Winship <danw@ximian.com> + + * mail-signature-editor.c (exit_dialog_cb): Fix non-ANSI switch + statement. + + * mail-account-gui.c (mail_account_gui_auto_detect_extra_conf): + Likewise. + + * mail-composer-prefs.c (spell_load_values): add some dummy + typedefs to avoid empty macro arguments, which have undefined + behavior. + + * mail-importer.c: #include <sys/types.h> for OS X + 2002-09-23 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_part_save): Use 0666 as the create mode so that diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index da7478232f..4bed19d082 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -316,6 +316,7 @@ mail_account_gui_auto_detect_extra_conf (MailAccountGui *gui) } break; default: + break; } } diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c index a49e55fcbe..fb5e0f455d 100644 --- a/mail/mail-composer-prefs.c +++ b/mail/mail-composer-prefs.c @@ -566,9 +566,9 @@ spell_load_values (MailComposerPrefs *prefs) prefs->spell_error_color.green = 0; prefs->spell_error_color.blue = 0; - GET (int, "/spell_error_color_red", prefs->spell_error_color.red,,); - GET (int, "/spell_error_color_green", prefs->spell_error_color.green,,); - GET (int, "/spell_error_color_blue", prefs->spell_error_color.blue,,); + GET (int, "/spell_error_color_red", prefs->spell_error_color.red, (void)0, (int)); + GET (int, "/spell_error_color_green", prefs->spell_error_color.green, (void)0, (int)); + GET (int, "/spell_error_color_blue", prefs->spell_error_color.blue, (void)0, (int)); GET (string, "/language", prefs->language_str, g_free (prefs->language_str), g_strdup); if (prefs->language_str == NULL) diff --git a/mail/mail-importer.c b/mail/mail-importer.c index 5ed406d134..13616b31a0 100644 --- a/mail/mail-importer.c +++ b/mail/mail-importer.c @@ -24,6 +24,7 @@ #include <config.h> #endif +#include <sys/types.h> #include <dirent.h> #include <gmodule.h> #include <libgnome/gnome-defs.h> diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index 36e65e985d..dae3e6934d 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -157,6 +157,7 @@ exit_dialog_cb (int reply, ESignatureEditor *editor) break; case REPLY_CANCEL: default: + break; } } |