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-formatter-text-enriched.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'em-format/e-mail-formatter-text-enriched.c') diff --git a/em-format/e-mail-formatter-text-enriched.c b/em-format/e-mail-formatter-text-enriched.c index 1ea46e8138..86ee917a9f 100644 --- a/em-format/e-mail-formatter-text-enriched.c +++ b/em-format/e-mail-formatter-text-enriched.c @@ -24,14 +24,13 @@ #include +#include "e-mail-format-extensions.h" #include "e-mail-formatter-extension.h" #include "e-mail-inline-filter.h" typedef EMailFormatterExtension EMailFormatterTextEnriched; typedef EMailFormatterExtensionClass EMailFormatterTextEnrichedClass; -GType e_mail_formatter_text_enriched_get_type (void); - G_DEFINE_TYPE ( EMailFormatterTextEnriched, e_mail_formatter_text_enriched, -- cgit v1.2.3