diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-07 23:11:00 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 03:01:05 +0800 |
commit | 7885426c2bfc410838e9c49bfd350b04e0535435 (patch) | |
tree | de1e21b46f4cd0edda4ccf0341ec64e8117297a3 /em-format/e-mail-formatter-quote-headers.c | |
parent | 00b211b0f515d6b6d9147c1ca568d0c4b42af699 (diff) | |
download | gsoc2013-evolution-7885426c2bfc410838e9c49bfd350b04e0535435.tar gsoc2013-evolution-7885426c2bfc410838e9c49bfd350b04e0535435.tar.gz gsoc2013-evolution-7885426c2bfc410838e9c49bfd350b04e0535435.tar.bz2 gsoc2013-evolution-7885426c2bfc410838e9c49bfd350b04e0535435.tar.lz gsoc2013-evolution-7885426c2bfc410838e9c49bfd350b04e0535435.tar.xz gsoc2013-evolution-7885426c2bfc410838e9c49bfd350b04e0535435.tar.zst gsoc2013-evolution-7885426c2bfc410838e9c49bfd350b04e0535435.zip |
EMailFormatterExtension: Convert get_display_name() to a string field.
Of the formatter extensions that provide a display name, they all use a
static string. So we don't need an instance of the extension to obtain
its display name. Just make it a string field in the class structure.
Diffstat (limited to 'em-format/e-mail-formatter-quote-headers.c')
-rw-r--r-- | em-format/e-mail-formatter-quote-headers.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/em-format/e-mail-formatter-quote-headers.c b/em-format/e-mail-formatter-quote-headers.c index 4e13cab255..3b1a74b02c 100644 --- a/em-format/e-mail-formatter-quote-headers.c +++ b/em-format/e-mail-formatter-quote-headers.c @@ -233,12 +233,6 @@ emqfe_headers_format (EMailFormatterExtension *extension, } static const gchar * -emqfe_headers_get_display_name (EMailFormatterExtension *extension) -{ - return NULL; -} - -static const gchar * emqfe_headers_get_description (EMailFormatterExtension *extension) { return NULL; @@ -249,7 +243,6 @@ e_mail_formatter_quote_headers_class_init (EMailFormatterExtensionClass *class) { class->mime_types = formatter_mime_types; class->format = emqfe_headers_format; - class->get_display_name = emqfe_headers_get_display_name; class->get_description = emqfe_headers_get_description; } |