diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /mail/em-inline-filter.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip |
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
Diffstat (limited to 'mail/em-inline-filter.c')
-rw-r--r-- | mail/em-inline-filter.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/em-inline-filter.c b/mail/em-inline-filter.c index 79300b33bc..59075ef5d3 100644 --- a/mail/em-inline-filter.c +++ b/mail/em-inline-filter.c @@ -33,7 +33,7 @@ #include "em-utils.h" -#define d(x) +#define d(x) static void em_inline_filter_class_init (EMInlineFilterClass *klass); static void em_inline_filter_init (CamelObject *object); @@ -49,7 +49,7 @@ CamelType em_inline_filter_get_type (void) { static CamelType type = CAMEL_INVALID_TYPE; - + if (type == CAMEL_INVALID_TYPE) { parent_class = (CamelMimeFilterClass *)camel_mime_filter_get_type(); @@ -62,7 +62,7 @@ em_inline_filter_get_type (void) (CamelObjectInitFunc) em_inline_filter_init, (CamelObjectFinalizeFunc) em_inline_filter_finalize); } - + return type; } @@ -129,7 +129,7 @@ emif_add_part(EMInlineFilter *emif, const char *data, int len) CamelMimePart *part; CamelStream *mem; char *type; - + if (emif->state == EMIF_PLAIN || emif->state == EMIF_PGPSIGNED || emif->state == EMIF_PGPENCRYPTED) encoding = emif->base_encoding; else @@ -142,11 +142,11 @@ emif_add_part(EMInlineFilter *emif, const char *data, int len) } mem = camel_stream_mem_new_with_byte_array(emif->data); emif->data = g_byte_array_new(); - + dw = camel_data_wrapper_new(); camel_data_wrapper_construct_from_stream(dw, mem); camel_object_unref(mem); - + if (emif_types[emif->state].plain && emif->base_type) { camel_content_type_ref (emif->base_type); content_type = emif->base_type; @@ -155,17 +155,17 @@ emif_add_part(EMInlineFilter *emif, const char *data, int len) type = camel_content_type_format (emif->base_type); content_type = camel_content_type_decode (type); g_free (type); - + g_free (content_type->type); g_free (content_type->subtype); content_type->type = g_strdup (emif_types[emif->state].type); content_type->subtype = g_strdup (emif_types[emif->state].subtype); } - + camel_data_wrapper_set_mime_type_field (dw, content_type); camel_content_type_unref (content_type); dw->encoding = encoding; - + part = camel_mime_part_new(); camel_medium_set_content_object((CamelMedium *)part, dw); camel_mime_part_set_encoding(part, encoding); @@ -203,7 +203,7 @@ emif_scan(CamelMimeFilter *f, char *in, size_t len, int final) while (inptr < inend && *inptr != '\n') inptr++; - + if (inptr == inend) { if (!final) { camel_mime_filter_backup(f, start, inend-start); @@ -378,12 +378,12 @@ emif_reset(CamelMimeFilter *f) * raw data being processed. * @base_type: The base content-type of the raw data, should always be * text/plain. - * + * * Create a filter which will scan a (text) stream for * embedded parts. You can then retrieve the contents * as a CamelMultipart object. - * - * Return value: + * + * Return value: **/ EMInlineFilter * em_inline_filter_new(CamelTransferEncoding base_encoding, CamelContentType *base_type) |