aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-inline-filter.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-09-13 14:37:38 +0800
committerMilan Crha <mcrha@redhat.com>2012-09-13 14:41:27 +0800
commit5ce8bf667d7151dee9a93c8421730c28877be9a5 (patch)
treeae5b5bf6abc47048ce88246933ec8f6b9a7cb7ef /em-format/e-mail-inline-filter.h
parent656ae89d53cf4c2553d4997d17f5c89888c493b1 (diff)
downloadgsoc2013-evolution-5ce8bf667d7151dee9a93c8421730c28877be9a5.tar
gsoc2013-evolution-5ce8bf667d7151dee9a93c8421730c28877be9a5.tar.gz
gsoc2013-evolution-5ce8bf667d7151dee9a93c8421730c28877be9a5.tar.bz2
gsoc2013-evolution-5ce8bf667d7151dee9a93c8421730c28877be9a5.tar.lz
gsoc2013-evolution-5ce8bf667d7151dee9a93c8421730c28877be9a5.tar.xz
gsoc2013-evolution-5ce8bf667d7151dee9a93c8421730c28877be9a5.tar.zst
gsoc2013-evolution-5ce8bf667d7151dee9a93c8421730c28877be9a5.zip
[text/plain parser] Use original part when nothing found inline
This way the view corresponds to the original part properties, not those stripped by the inline filter. Also initialize EMailInlineFilter::filename on creation of the structure, thus the value is actually used on the subparts, if needed.
Diffstat (limited to 'em-format/e-mail-inline-filter.h')
-rw-r--r--em-format/e-mail-inline-filter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/em-format/e-mail-inline-filter.h b/em-format/e-mail-inline-filter.h
index ff8248c681..979ac46a12 100644
--- a/em-format/e-mail-inline-filter.h
+++ b/em-format/e-mail-inline-filter.h
@@ -72,7 +72,8 @@ struct _EMailInlineFilterClass {
GType e_mail_inline_filter_get_type (void);
EMailInlineFilter *
e_mail_inline_filter_new (CamelTransferEncoding base_encoding,
- CamelContentType *type);
+ CamelContentType *type,
+ const gchar *filename);
CamelMultipart *e_mail_inline_filter_get_multipart
(EMailInlineFilter *emif);
gboolean e_mail_inline_filter_found_any (EMailInlineFilter *emif);