From 54455ca1ad6cae527544fed12d0de4ae95341082 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 6 Dec 2012 16:40:13 -0500 Subject: Remove EMailExtension. EMailExtension is now too trivial to keep as a standalone interface. Add a 'mime_types' string array to the EMailFormatterExtension and EMailFormatterParser interface structs. Alter e_mail_extension_registry_add_extension() to take a 'mime_types' string array and the GType of an extension to instantiate, rather than the extension instance directly. e_mail_extension_registry_remove_extension() is no longer needed. --- em-format/e-mail-formatter-extension.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'em-format/e-mail-formatter-extension.c') diff --git a/em-format/e-mail-formatter-extension.c b/em-format/e-mail-formatter-extension.c index 381855bac5..3e10aa1488 100644 --- a/em-format/e-mail-formatter-extension.c +++ b/em-format/e-mail-formatter-extension.c @@ -21,7 +21,7 @@ G_DEFINE_INTERFACE ( EMailFormatterExtension, e_mail_formatter_extension, - E_TYPE_MAIL_EXTENSION) + G_TYPE_OBJECT) /** * EMailFormatterExtension: -- cgit v1.2.3