diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-17 10:43:46 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:16 +0800 |
commit | b5cadb77f188e2f426550ea7d5623420865636d2 (patch) | |
tree | 7541aa43a51bd7f4f0027901725b12250f5584cb /mail/e-mail-reader.c | |
parent | 9640844be243e8639e1b2a2a74c6b441462fa032 (diff) | |
download | gsoc2013-evolution-b5cadb77f188e2f426550ea7d5623420865636d2.tar.gz gsoc2013-evolution-b5cadb77f188e2f426550ea7d5623420865636d2.tar.zst gsoc2013-evolution-b5cadb77f188e2f426550ea7d5623420865636d2.zip |
Remove mail_remove_attachments().
Use e_mail_folder_remove_attachments() instead.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index ee0579f5c8..0a6cb06848 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -400,20 +400,15 @@ action_mail_filters_apply_cb (GtkAction *action, } static void -action_mail_remove_attachments_cb (GtkAction *action, EMailReader *reader) +action_mail_remove_attachments_cb (GtkAction *action, + EMailReader *reader) { - CamelFolder *folder; - GPtrArray *uids; - - folder = e_mail_reader_get_folder (reader); - uids = e_mail_reader_get_selected_uids (reader); - - mail_remove_attachments (folder, uids); + e_mail_reader_remove_attachments (reader); } static void -action_mail_remove_duplicates (GtkAction *action, - EMailReader *reader) +action_mail_remove_duplicates_cb (GtkAction *action, + EMailReader *reader) { e_mail_reader_remove_duplicates (reader); } @@ -2146,7 +2141,7 @@ static GtkActionEntry mail_reader_entries[] = { N_("Remove Du_plicate Messages"), NULL, N_("Checks selected messages for duplicates"), - G_CALLBACK (action_mail_remove_duplicates) }, + G_CALLBACK (action_mail_remove_duplicates_cb) }, { "mail-reply-all", NULL, |