aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-05 04:53:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-06-09 01:14:48 +0800
commitf014ab82c81078d60cb1df8c986305c2cc9948c2 (patch)
treec3bde4e5da923c9ee082fcb994b10c2ce2f61dc2 /em-format
parent7428fc93d58921bab9968a999172b843af2a2244 (diff)
downloadgsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.gz
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.zst
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format.c25
1 files changed, 16 insertions, 9 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 13b1febd84..be3e935728 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1135,13 +1135,18 @@ em_format_is_attachment (EMFormat *emf,
/*printf("checking is attachment %s/%s\n", ct->type, ct->subtype);*/
return !(camel_content_type_is (dw->mime_type, "multipart", "*")
- || camel_content_type_is(dw->mime_type, "application", "x-pkcs7-mime")
- || camel_content_type_is(dw->mime_type, "application", "pkcs7-mime")
- || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-signed")
- || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-encrypted")
- || camel_content_type_is(dw->mime_type, "x-evolution", "evolution-rss-feed")
- || camel_content_type_is(dw->mime_type, "text", "calendar")
- || camel_content_type_is(dw->mime_type, "text", "x-calendar")
+ || camel_content_type_is (
+ dw->mime_type, "application", "x-pkcs7-mime")
+ || camel_content_type_is (
+ dw->mime_type, "application", "pkcs7-mime")
+ || camel_content_type_is (
+ dw->mime_type, "application", "x-inlinepgp-signed")
+ || camel_content_type_is (
+ dw->mime_type, "application", "x-inlinepgp-encrypted")
+ || camel_content_type_is (
+ dw->mime_type, "x-evolution", "evolution-rss-feed")
+ || camel_content_type_is (dw->mime_type, "text", "calendar")
+ || camel_content_type_is (dw->mime_type, "text", "x-calendar")
|| (camel_content_type_is (dw->mime_type, "text", "*")
&& camel_mime_part_get_filename (part) == NULL));
}
@@ -2179,7 +2184,8 @@ emf_inlinepgp_signed (EMFormat *emf,
em_format_format_error (
emf, stream, "%s", local_error->message);
em_format_format_source (emf, stream, ipart, cancellable);
- /* I think this will loop: em_format_part_as(emf, stream, part, "text/plain"); */
+ /* XXX I think this will loop:
+ * em_format_part_as(emf, stream, part, "text/plain"); */
g_clear_error (&local_error);
g_object_unref (cipher);
return;
@@ -2273,7 +2279,8 @@ emf_inlinepgp_encrypted (EMFormat *emf,
em_format_format_error (
emf, stream, _("Unknown error"));
em_format_format_source (emf, stream, ipart, cancellable);
- /* I think this will loop: em_format_part_as(emf, stream, part, "text/plain"); */
+ /* XXX I think this will loop:
+ * em_format_part_as(emf, stream, part, "text/plain"); */
g_clear_error (&local_error);
g_object_unref (cipher);