diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
commit | a891b81cfb3430a764dab0d5644114c4dab22297 (patch) | |
tree | de13086dc548fc1fc7dd626e115563baf97eb747 /mail | |
parent | b5bd3ae53c7f34112557668979cb2c7052d2790b (diff) | |
download | gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.gz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.bz2 gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.lz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.xz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.zst gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-reader.c | 2 | ||||
-rw-r--r-- | mail/e-mail-session.h | 1 | ||||
-rw-r--r-- | mail/em-folder-properties.c | 2 | ||||
-rw-r--r-- | mail/mail-ops.c | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 8432e3388b..2c1bbb2fc8 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -464,7 +464,7 @@ action_mail_remove_attachments_cb (GtkAction *action, EMailReader *reader) /* make a copy of the message */ camel_message_info_set_flags (newinfo, flags, flags); camel_folder_append_message_sync (folder, message, newinfo, NULL, NULL, &error); - + if (!error) { /* marked the original message deleted */ camel_message_info_set_flags (info, CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED); diff --git a/mail/e-mail-session.h b/mail/e-mail-session.h index f9cab970cc..99c1b77d7c 100644 --- a/mail/e-mail-session.h +++ b/mail/e-mail-session.h @@ -110,7 +110,6 @@ CamelFolder * e_mail_session_uri_to_folder_finish GAsyncResult *result, GError **error); - /*** Legacy API ***/ void mail_session_flush_filter_log (EMailSession *session); diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c index 8679fd1dc1..8b454d21a2 100644 --- a/mail/em-folder-properties.c +++ b/mail/em-folder-properties.c @@ -248,7 +248,7 @@ emfp_dialog_got_folder_quota (CamelFolder *folder, client = gconf_client_get_default (); key = "/apps/evolution/mail/display/show_deleted"; - hide_deleted = !gconf_client_get_bool(client, key, NULL); + hide_deleted = !gconf_client_get_bool (client, key, NULL); g_object_unref (client); /* diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 3da4f7a085..24826afd10 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1797,7 +1797,7 @@ expunge_pop3_stores (CamelFolder *expunging, EMailSession *session, GCancellable if (!info) continue; - + if ((camel_message_info_flags (info) & CAMEL_MESSAGE_DELETED) != 0) { CamelMimeMessage *msg; GError *local_error = NULL; |