From d9699159f010c612deca650c6ee336763d908954 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 7 Dec 2012 10:31:18 -0500 Subject: EMailFormatterExtension: Convert get_description() to a string field. Of the formatter extensions that provide a description, they all use a static string. So we don't need an instance of the extension to obtain its description. Just make it a string field in the class structure. --- em-format/e-mail-formatter-quote-headers.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'em-format/e-mail-formatter-quote-headers.c') diff --git a/em-format/e-mail-formatter-quote-headers.c b/em-format/e-mail-formatter-quote-headers.c index 3b1a74b02c..b98f17940d 100644 --- a/em-format/e-mail-formatter-quote-headers.c +++ b/em-format/e-mail-formatter-quote-headers.c @@ -232,18 +232,11 @@ emqfe_headers_format (EMailFormatterExtension *extension, return TRUE; } -static const gchar * -emqfe_headers_get_description (EMailFormatterExtension *extension) -{ - return NULL; -} - static void e_mail_formatter_quote_headers_class_init (EMailFormatterExtensionClass *class) { class->mime_types = formatter_mime_types; class->format = emqfe_headers_format; - class->get_description = emqfe_headers_get_description; } static void -- cgit v1.2.3