aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-17 10:43:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-17 10:43:46 +0800
commitb61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3 (patch)
tree2d523fb23c6f77f47f430ad9bc2af9e7f9dd9aa5 /mail/e-mail-reader.c
parent41337195f36e4795d7976df4e07a11ff336cd89c (diff)
downloadgsoc2013-evolution-b61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3.tar
gsoc2013-evolution-b61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3.tar.gz
gsoc2013-evolution-b61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3.tar.bz2
gsoc2013-evolution-b61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3.tar.lz
gsoc2013-evolution-b61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3.tar.xz
gsoc2013-evolution-b61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3.tar.zst
gsoc2013-evolution-b61d2c08d7f16171e3c6a2ddb4759a2a2803aaf3.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.c17
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,