diff options
Diffstat (limited to 'em-format/e-mail-formatter-quote-message-rfc822.c')
-rw-r--r-- | em-format/e-mail-formatter-quote-message-rfc822.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/em-format/e-mail-formatter-quote-message-rfc822.c b/em-format/e-mail-formatter-quote-message-rfc822.c index 2bb8de9eb2..d1b5ae5b68 100644 --- a/em-format/e-mail-formatter-quote-message-rfc822.c +++ b/em-format/e-mail-formatter-quote-message-rfc822.c @@ -35,10 +35,6 @@ #include <string.h> -static const gchar * formatter_mime_types[] = { "message/rfc822", - "application/vnd.evolution.rfc822.end", - NULL }; - typedef struct _EMailFormatterQuoteMessageRFC822 { GObject parent; } EMailFormatterQuoteMessageRFC822; @@ -62,6 +58,12 @@ G_DEFINE_TYPE_EXTENDED ( E_TYPE_MAIL_FORMATTER_EXTENSION, e_mail_formatter_quote_formatter_extension_interface_init)); +static const gchar *formatter_mime_types[] = { + "message/rfc822", + "application/vnd.evolution.rfc822.end", + NULL +}; + static gboolean emfqe_message_rfc822_format (EMailFormatterExtension *extension, EMailFormatter *formatter, @@ -161,12 +163,6 @@ emfqe_message_rfc822_get_description (EMailFormatterExtension *extension) return NULL; } -static const gchar ** -emfqe_message_rfc822_mime_types (EMailExtension *extension) -{ - return formatter_mime_types; -} - static void e_mail_formatter_quote_message_rfc822_class_init (EMailFormatterQuoteMessageRFC822Class *class) { @@ -183,7 +179,7 @@ e_mail_formatter_quote_formatter_extension_interface_init (EMailFormatterExtensi static void e_mail_formatter_quote_mail_extension_interface_init (EMailExtensionInterface *iface) { - iface->mime_types = emfqe_message_rfc822_mime_types; + iface->mime_types = formatter_mime_types; } static void |