aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser-inlinepgp-encrypted.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-parser-inlinepgp-encrypted.c')
-rw-r--r--em-format/e-mail-parser-inlinepgp-encrypted.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/em-format/e-mail-parser-inlinepgp-encrypted.c b/em-format/e-mail-parser-inlinepgp-encrypted.c
index ce3f372cc1..6a8ff8e1e1 100644
--- a/em-format/e-mail-parser-inlinepgp-encrypted.c
+++ b/em-format/e-mail-parser-inlinepgp-encrypted.c
@@ -55,8 +55,10 @@ G_DEFINE_TYPE_EXTENDED (
E_TYPE_MAIL_PARSER_EXTENSION,
e_mail_parser_parser_extension_interface_init));
-static const gchar * parser_mime_types[] = { "application/x-inlinepgp-encrypted",
- NULL };
+static const gchar *parser_mime_types[] = {
+ "application/x-inlinepgp-encrypted",
+ NULL
+};
static gboolean
empe_inlinepgp_encrypted_parse (EMailParserExtension *extension,
@@ -173,12 +175,6 @@ empe_inlinepgp_encrypted_parse (EMailParserExtension *extension,
return TRUE;
}
-static const gchar **
-empe_inlinepgp_encrypted_mime_types (EMailExtension *extension)
-{
- return parser_mime_types;
-}
-
static void
e_mail_parser_inline_pgp_encrypted_class_init (EMailParserInlinePGPEncryptedClass *class)
{
@@ -193,7 +189,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_inlinepgp_encrypted_mime_types;
+ iface->mime_types = parser_mime_types;
}
static void