aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-quote-message-rfc822.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-18 23:02:20 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-20 01:07:20 +0800
commit5fd22430809036acf607d3d3cd5f4b32c1f1cc81 (patch)
tree460fd37581efc61e5e0caf5772fb26bedbd6a25b /em-format/e-mail-formatter-quote-message-rfc822.c
parent366b731a169ac54a0407f5d85879c38ba463398a (diff)
downloadgsoc2013-evolution-5fd22430809036acf607d3d3cd5f4b32c1f1cc81.tar
gsoc2013-evolution-5fd22430809036acf607d3d3cd5f4b32c1f1cc81.tar.gz
gsoc2013-evolution-5fd22430809036acf607d3d3cd5f4b32c1f1cc81.tar.bz2
gsoc2013-evolution-5fd22430809036acf607d3d3cd5f4b32c1f1cc81.tar.lz
gsoc2013-evolution-5fd22430809036acf607d3d3cd5f4b32c1f1cc81.tar.xz
gsoc2013-evolution-5fd22430809036acf607d3d3cd5f4b32c1f1cc81.tar.zst
gsoc2013-evolution-5fd22430809036acf607d3d3cd5f4b32c1f1cc81.zip
Add e_mail_part_id_has_suffix().
Diffstat (limited to 'em-format/e-mail-formatter-quote-message-rfc822.c')
-rw-r--r--em-format/e-mail-formatter-quote-message-rfc822.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/em-format/e-mail-formatter-quote-message-rfc822.c b/em-format/e-mail-formatter-quote-message-rfc822.c
index ae09a0285b..ae1d3a4e54 100644
--- a/em-format/e-mail-formatter-quote-message-rfc822.c
+++ b/em-format/e-mail-formatter-quote-message-rfc822.c
@@ -89,10 +89,10 @@ emfqe_message_rfc822_format (EMailFormatterExtension *extension,
p_id = e_mail_part_get_id (p);
/* Skip attachment bar */
- if (g_str_has_suffix (p->id, ".attachment-bar"))
+ if (e_mail_part_id_has_suffix (p, ".attachment-bar"))
continue;
- if (g_str_has_suffix (p->id, ".headers.")) {
+ if (e_mail_part_id_has_suffix (p, ".headers.")) {
if (qc->qf_flags & E_MAIL_FORMATTER_QUOTE_FLAG_HEADERS) {
e_mail_formatter_format_as (
formatter, context, part, stream,
@@ -104,7 +104,7 @@ emfqe_message_rfc822_format (EMailFormatterExtension *extension,
}
/* Check for nested rfc822 messages */
- if (g_str_has_suffix (p->id, ".rfc822")) {
+ if (e_mail_part_id_has_suffix (p, ".rfc822")) {
gchar *sub_end = g_strconcat (p_id, ".end", NULL);
while (link != NULL) {