diff options
Diffstat (limited to 'mail/mail-view.c')
-rw-r--r-- | mail/mail-view.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mail/mail-view.c b/mail/mail-view.c index 54ec02de32..cd18b4ff69 100644 --- a/mail/mail-view.c +++ b/mail/mail-view.c @@ -130,12 +130,7 @@ view_delete_msg (GtkWidget *button, gpointer user_data) { mail_view_data *data = (mail_view_data *) user_data; - GPtrArray *uids; - - uids = g_ptr_array_new(); - g_ptr_array_add (uids, g_strdup (data->uid)); - mail_do_flag_messages (data->source, uids, TRUE, - CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED); + camel_folder_set_message_flags(data->source, data->uid, CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED); } static void |