diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-17 01:06:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-20 01:07:20 +0800 |
commit | cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9 (patch) | |
tree | 271b673b6e311d5cb44acdd0b6c1d1830aa6982e /em-format/e-mail-parser-attachment-bar.c | |
parent | f6f11a1da2dfa2c7616cd18b36a44fefd66f0c75 (diff) | |
download | gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar.gz gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.tar.zst gsoc2013-evolution-cd5a55f9812643109be6c2b0ed5d8f8ce655a4a9.zip |
em-format cleanups.
Diffstat (limited to 'em-format/e-mail-parser-attachment-bar.c')
-rw-r--r-- | em-format/e-mail-parser-attachment-bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/em-format/e-mail-parser-attachment-bar.c b/em-format/e-mail-parser-attachment-bar.c index 5e36b83b6f..1ceebe577c 100644 --- a/em-format/e-mail-parser-attachment-bar.c +++ b/em-format/e-mail-parser-attachment-bar.c @@ -49,7 +49,7 @@ G_DEFINE_TYPE ( E_TYPE_MAIL_PARSER_EXTENSION) static const gchar *parser_mime_types[] = { - "application/vnd.evolution.widget.attachment-bar", + E_MAIL_PART_ATTACHMENT_BAR_MIME_TYPE, NULL }; @@ -69,7 +69,7 @@ empe_attachment_bar_parse (EMailParserExtension *extension, empab = (EMailPartAttachmentBar *) e_mail_part_subclass_new ( part, part_id->str, sizeof (EMailPartAttachmentBar), (GFreeFunc) mail_part_attachment_bar_free); - empab->parent.mime_type = g_strdup ("application/vnd.evolution.widget.attachment-bar"); + empab->parent.mime_type = g_strdup (parser_mime_types[0]); empab->store = E_ATTACHMENT_STORE (e_attachment_store_new ()); g_string_truncate (part_id, len); |