diff options
Diffstat (limited to 'em-format/e-mail-formatter-message-rfc822.c')
-rw-r--r-- | em-format/e-mail-formatter-message-rfc822.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/em-format/e-mail-formatter-message-rfc822.c b/em-format/e-mail-formatter-message-rfc822.c index f2d7d1cc66..dea737deb9 100644 --- a/em-format/e-mail-formatter-message-rfc822.c +++ b/em-format/e-mail-formatter-message-rfc822.c @@ -50,7 +50,6 @@ typedef struct _EMailFormatterMessageRFC822Class { } EMailFormatterMessageRFC822Class; static void e_mail_formatter_formatter_extension_interface_init (EMailFormatterExtensionInterface *iface); -static void e_mail_formatter_mail_extension_interface_init (EMailExtensionInterface *iface); G_DEFINE_TYPE_EXTENDED ( EMailFormatterMessageRFC822, @@ -58,9 +57,6 @@ G_DEFINE_TYPE_EXTENDED ( G_TYPE_OBJECT, 0, G_IMPLEMENT_INTERFACE ( - E_TYPE_MAIL_EXTENSION, - e_mail_formatter_mail_extension_interface_init) - G_IMPLEMENT_INTERFACE ( E_TYPE_MAIL_FORMATTER_EXTENSION, e_mail_formatter_formatter_extension_interface_init)); @@ -265,18 +261,13 @@ e_mail_formatter_message_rfc822_class_init (EMailFormatterMessageRFC822Class *cl static void e_mail_formatter_formatter_extension_interface_init (EMailFormatterExtensionInterface *iface) { + iface->mime_types = formatter_mime_types; iface->format = emfe_message_rfc822_format; iface->get_display_name = emfe_message_rfc822_get_display_name; iface->get_description = emfe_message_rfc822_get_description; } static void -e_mail_formatter_mail_extension_interface_init (EMailExtensionInterface *iface) -{ - iface->mime_types = formatter_mime_types; -} - -static void e_mail_formatter_message_rfc822_init (EMailFormatterMessageRFC822 *formatter) { |