From 57adde4be6ef1709008dc27af43ada147cf21588 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 29 Jan 2013 16:31:58 +0100 Subject: Revert "Teach EMailExtensionRegistry to find extensions." This reverts commit bf30024dd7973006bf99d0ae509a7f0022368a41, because it breaks EMailFormatter/Parser extensions, like the prefer-plain. The thing is that the internal formatters/parsers (also extensions) should be always added first, and only after then can be added extended extensions, which are used before those internal. This constraint was not satisfied with the reverted commit, the order of extension registration was unpredictable, depended on GType. --- em-format/e-mail-parser-application-smime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'em-format/e-mail-parser-application-smime.c') diff --git a/em-format/e-mail-parser-application-smime.c b/em-format/e-mail-parser-application-smime.c index 13c3d739c1..a5ab0479c6 100644 --- a/em-format/e-mail-parser-application-smime.c +++ b/em-format/e-mail-parser-application-smime.c @@ -25,14 +25,13 @@ #include +#include "e-mail-format-extensions.h" #include "e-mail-parser-extension.h" #include "e-mail-part-utils.h" typedef EMailParserExtension EMailParserApplicationSMIME; typedef EMailParserExtensionClass EMailParserApplicationSMIMEClass; -GType e_mail_parser_application_smime_get_type (void); - G_DEFINE_TYPE ( EMailParserApplicationSMIME, e_mail_parser_application_smime, -- cgit v1.2.3