aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r--mail/e-mail-reader-utils.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index 725a0c6d7c..a58eb1f441 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -282,38 +282,6 @@ e_mail_reader_delete_folder (EMailReader *reader,
gtk_widget_destroy (dialog);
}
-void
-e_mail_reader_mark_as_read (EMailReader *reader,
- const gchar *uid)
-{
- EMailBackend *backend;
- EMFormatHTML *formatter;
- CamelFolder *folder;
- guint32 mask, set;
- guint32 flags;
-
- g_return_if_fail (E_IS_MAIL_READER (reader));
- g_return_if_fail (uid != NULL);
-
- folder = e_mail_reader_get_folder (reader);
- backend = e_mail_reader_get_backend (reader);
- formatter = e_mail_reader_get_formatter (reader);
-
- flags = camel_folder_get_message_flags (folder, uid);
-
- if (!(flags & CAMEL_MESSAGE_SEEN)) {
- CamelMimeMessage *message;
-
- message = EM_FORMAT (formatter)->message;
- em_utils_handle_receipt (backend, folder, uid, message);
- }
-
- mask = CAMEL_MESSAGE_SEEN;
- set = CAMEL_MESSAGE_SEEN;
-
- camel_folder_set_message_flags (folder, uid, mask, set);
-}
-
guint
e_mail_reader_mark_selected (EMailReader *reader,
guint32 mask,