aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-message-rfc822.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-formatter-message-rfc822.c')
-rw-r--r--em-format/e-mail-formatter-message-rfc822.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/em-format/e-mail-formatter-message-rfc822.c b/em-format/e-mail-formatter-message-rfc822.c
index 893344e083..41b89f461b 100644
--- a/em-format/e-mail-formatter-message-rfc822.c
+++ b/em-format/e-mail-formatter-message-rfc822.c
@@ -230,19 +230,13 @@ emfe_message_rfc822_format (EMailFormatterExtension *extension,
return TRUE;
}
-static const gchar *
-emfe_message_rfc822_get_description (EMailFormatterExtension *extension)
-{
- return _("Format part as an RFC822 message");
-}
-
static void
e_mail_formatter_message_rfc822_class_init (EMailFormatterExtensionClass *class)
{
class->display_name = _("RFC822 message");
+ class->description = _("Format part as an RFC822 message");
class->mime_types = formatter_mime_types;
class->format = emfe_message_rfc822_format;
- class->get_description = emfe_message_rfc822_get_description;
}
static void