diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 01:20:45 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 04:56:30 +0800 |
commit | ffa17ed195a6bbb40d386fb572b7941e22f47f8d (patch) | |
tree | 05edc9587cf07afae2089e1f710725a616468faa /plugins/groupwise-features/junk-settings.c | |
parent | 0cf607076dfc2c481ca1164a04cecdb0661e6bd0 (diff) | |
download | gsoc2013-evolution-ffa17ed195a6bbb40d386fb572b7941e22f47f8d.tar gsoc2013-evolution-ffa17ed195a6bbb40d386fb572b7941e22f47f8d.tar.gz gsoc2013-evolution-ffa17ed195a6bbb40d386fb572b7941e22f47f8d.tar.bz2 gsoc2013-evolution-ffa17ed195a6bbb40d386fb572b7941e22f47f8d.tar.lz gsoc2013-evolution-ffa17ed195a6bbb40d386fb572b7941e22f47f8d.tar.xz gsoc2013-evolution-ffa17ed195a6bbb40d386fb572b7941e22f47f8d.tar.zst gsoc2013-evolution-ffa17ed195a6bbb40d386fb572b7941e22f47f8d.zip |
Fix compiler warnings in plugins.
Diffstat (limited to 'plugins/groupwise-features/junk-settings.c')
-rw-r--r-- | plugins/groupwise-features/junk-settings.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/plugins/groupwise-features/junk-settings.c b/plugins/groupwise-features/junk-settings.c index bff2abc35a..65eca141c6 100644 --- a/plugins/groupwise-features/junk-settings.c +++ b/plugins/groupwise-features/junk-settings.c @@ -48,7 +48,6 @@ static void free_all(JunkSettings *js); static void get_junk_list (JunkSettings *js); static void disable_clicked (GtkRadioButton *button, JunkSettings *js); static void enable_clicked (GtkRadioButton *button, JunkSettings *js); -GType junk_settings_get_type (void); static GtkVBoxClass *parent_class = NULL; @@ -243,24 +242,32 @@ commit_changes (JunkSettings *js) if (E_IS_GW_CONNECTION (js->cnc)) { if(js->flag_for_ok == 2 && js->enabled){ /* just turn off the bits*/ use_junk = use_pab = use_block = persistence = 0; - if (e_gw_connection_modify_junk_settings (js->cnc, use_junk, use_pab, use_block, persistence) == E_GW_CONNECTION_STATUS_OK); + if (e_gw_connection_modify_junk_settings (js->cnc, use_junk, use_pab, use_block, persistence) == E_GW_CONNECTION_STATUS_OK) { + ; + } } if (js->flag_for_ok == 0 && !js->enabled) { use_block = use_pab =0; use_junk = 1; persistence = 14; /* We are setting the default persistence*/ - if (e_gw_connection_modify_junk_settings (js->cnc, use_junk, use_pab, use_block, persistence) == E_GW_CONNECTION_STATUS_OK); + if (e_gw_connection_modify_junk_settings (js->cnc, use_junk, use_pab, use_block, persistence) == E_GW_CONNECTION_STATUS_OK) { + ; + } } while (new_list) { entry = new_list->data; - if (e_gw_connection_create_junk_entry (js->cnc, entry->match, "email", "junk") == E_GW_CONNECTION_STATUS_OK); + if (e_gw_connection_create_junk_entry (js->cnc, entry->match, "email", "junk") == E_GW_CONNECTION_STATUS_OK) { + ; + } new_list = new_list->next; } while (remove_list) { entry = remove_list->data; - if (e_gw_connection_remove_junk_entry (js->cnc, entry->id) == E_GW_CONNECTION_STATUS_OK); + if (e_gw_connection_remove_junk_entry (js->cnc, entry->id) == E_GW_CONNECTION_STATUS_OK) { + ; + } remove_list = remove_list->next; } |