diff options
author | Dan Winship <danw@src.gnome.org> | 2002-09-24 06:09:29 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-09-24 06:09:29 +0800 |
commit | ccc7dbaf49012e66a2c1b344df20c8aa51c502dc (patch) | |
tree | 6b2973e94fd9577e4bf15073f589e46b143ed6a5 /mail/mail-composer-prefs.c | |
parent | 5f9b117b8a1df908b6bea6e07ada689a59636a6d (diff) | |
download | gsoc2013-evolution-ccc7dbaf49012e66a2c1b344df20c8aa51c502dc.tar.gz gsoc2013-evolution-ccc7dbaf49012e66a2c1b344df20c8aa51c502dc.tar.zst gsoc2013-evolution-ccc7dbaf49012e66a2c1b344df20c8aa51c502dc.zip |
Fix non-ANSI switch statement.
* 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
svn path=/trunk/; revision=18186
Diffstat (limited to 'mail/mail-composer-prefs.c')
-rw-r--r-- | mail/mail-composer-prefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |