diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-07 02:59:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-07 02:59:55 +0800 |
commit | 6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e (patch) | |
tree | cb81cf0916468d9bd90deafecd4edf6d846e6c2f /em-format | |
parent | c5fae912d155a7e6247d92b3974a615fd17944f0 (diff) | |
download | gsoc2013-evolution-6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e.tar gsoc2013-evolution-6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e.tar.gz gsoc2013-evolution-6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e.tar.bz2 gsoc2013-evolution-6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e.tar.lz gsoc2013-evolution-6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e.tar.xz gsoc2013-evolution-6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e.tar.zst gsoc2013-evolution-6a6ad99ba710aaf0202cbc1d0c7fe382a7e2774e.zip |
EMailFormatterQuote: Use e_mail_formatter_find_rfc822_end_iter().
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/e-mail-formatter-quote.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/em-format/e-mail-formatter-quote.c b/em-format/e-mail-formatter-quote.c index 1a2d84deba..c8f83860ee 100644 --- a/em-format/e-mail-formatter-quote.c +++ b/em-format/e-mail-formatter-quote.c @@ -21,6 +21,7 @@ #include <camel/camel.h> #include "e-mail-formatter-quote.h" +#include "e-mail-formatter-utils.h" #include "e-mail-part.h" #include "e-mail-part-attachment.h" #include "e-mail-part-utils.h" @@ -110,20 +111,7 @@ mail_formatter_quote_run (EMailFormatter *formatter, } if (g_str_has_suffix (part->id, ".rfc822")) { - gchar *end = g_strconcat (part->id, ".end", NULL); - - while (link != NULL) { - EMailPart *p = link->data; - - if (g_strcmp0 (p->id, end) == 0) - break; - - link = g_list_next (link); - if (link == NULL) - break; - } - g_free (end); - + link = e_mail_formatter_find_rfc822_end_iter (link); continue; } |