aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser-multipart-digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-parser-multipart-digest.c')
-rw-r--r--em-format/e-mail-parser-multipart-digest.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/em-format/e-mail-parser-multipart-digest.c b/em-format/e-mail-parser-multipart-digest.c
index 70f5eebda0..ed6a6daa63 100644
--- a/em-format/e-mail-parser-multipart-digest.c
+++ b/em-format/e-mail-parser-multipart-digest.c
@@ -53,8 +53,10 @@ G_DEFINE_TYPE_EXTENDED (
E_TYPE_MAIL_PARSER_EXTENSION,
e_mail_parser_parser_extension_interface_init));
-static const gchar * parser_mime_types[] = { "multipart/digest",
- NULL };
+static const gchar *parser_mime_types[] = {
+ "multipart/digest",
+ NULL
+};
static gboolean
empe_mp_digest_parse (EMailParserExtension *extension,
@@ -136,12 +138,6 @@ empe_mp_digest_get_flags (EMailParserExtension *extension)
return E_MAIL_PARSER_EXTENSION_COMPOUND_TYPE;
}
-static const gchar **
-empe_mp_digest_mime_types (EMailExtension *extension)
-{
- return parser_mime_types;
-}
-
static void
e_mail_parser_multipart_digest_class_init (EMailParserMultipartDigestClass *class)
{
@@ -157,7 +153,7 @@ e_mail_parser_parser_extension_interface_init (EMailParserExtensionInterface *if
static void
e_mail_parser_mail_extension_interface_init (EMailExtensionInterface *iface)
{
- iface->mime_types = empe_mp_digest_mime_types;
+ iface->mime_types = parser_mime_types;
}
static void