aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-secure-button.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-07 23:31:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-08 03:01:05 +0800
commitd9699159f010c612deca650c6ee336763d908954 (patch)
tree4839a8707065a7213d407b6124c3d9c486e456c8 /em-format/e-mail-formatter-secure-button.c
parent7885426c2bfc410838e9c49bfd350b04e0535435 (diff)
downloadgsoc2013-evolution-d9699159f010c612deca650c6ee336763d908954.tar.gz
gsoc2013-evolution-d9699159f010c612deca650c6ee336763d908954.tar.zst
gsoc2013-evolution-d9699159f010c612deca650c6ee336763d908954.zip
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.
Diffstat (limited to 'em-format/e-mail-formatter-secure-button.c')
-rw-r--r--em-format/e-mail-formatter-secure-button.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/em-format/e-mail-formatter-secure-button.c b/em-format/e-mail-formatter-secure-button.c
index a900fc92a8..164cb19198 100644
--- a/em-format/e-mail-formatter-secure-button.c
+++ b/em-format/e-mail-formatter-secure-button.c
@@ -459,19 +459,12 @@ emfe_secure_button_get_widget (EMailFormatterExtension *extension,
return grid;
}
-static const gchar *
-emfe_secure_button_get_description (EMailFormatterExtension *extension)
-{
- return NULL;
-}
-
static void
e_mail_formatter_secure_button_class_init (EMailFormatterExtensionClass *class)
{
class->mime_types = formatter_mime_types;
class->format = emfe_secure_button_format;
class->get_widget = emfe_secure_button_get_widget;
- class->get_description = emfe_secure_button_get_description;
}
static void