aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser-message-rfc822.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-parser-message-rfc822.c')
-rw-r--r--em-format/e-mail-parser-message-rfc822.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/em-format/e-mail-parser-message-rfc822.c b/em-format/e-mail-parser-message-rfc822.c
index d2cd7ee7fe..5239c3c743 100644
--- a/em-format/e-mail-parser-message-rfc822.c
+++ b/em-format/e-mail-parser-message-rfc822.c
@@ -123,19 +123,14 @@ empe_msg_rfc822_parse (EMailParserExtension *extension,
return TRUE;
}
-static guint32
-empe_msg_rfc822_get_flags (EMailParserExtension *extension)
-{
- return E_MAIL_PARSER_EXTENSION_INLINE |
- E_MAIL_PARSER_EXTENSION_COMPOUND_TYPE;
-}
-
static void
e_mail_parser_message_rfc822_class_init (EMailParserExtensionClass *class)
{
class->mime_types = parser_mime_types;
+ class->flags =
+ E_MAIL_PARSER_EXTENSION_INLINE |
+ E_MAIL_PARSER_EXTENSION_COMPOUND_TYPE;
class->parse = empe_msg_rfc822_parse;
- class->get_flags = empe_msg_rfc822_get_flags;
}
static void