diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 03:58:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 03:58:09 +0800 |
commit | fef414503a7aa39fc992906497fffdb24a1df1e9 (patch) | |
tree | 4833c3a3f7e96385c87a999a6cb54980daa5e096 | |
parent | e6305c503a150fd9b4bbc310980019b0d90ef118 (diff) | |
download | gsoc2013-evolution-fef414503a7aa39fc992906497fffdb24a1df1e9.tar.gz gsoc2013-evolution-fef414503a7aa39fc992906497fffdb24a1df1e9.tar.zst gsoc2013-evolution-fef414503a7aa39fc992906497fffdb24a1df1e9.zip |
e_mail_formatter_print_base_init(): Register internal extension types.
-rw-r--r-- | em-format/e-mail-formatter-print.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/em-format/e-mail-formatter-print.c b/em-format/e-mail-formatter-print.c index 62e4693cc4..8e56445ccd 100644 --- a/em-format/e-mail-formatter-print.c +++ b/em-format/e-mail-formatter-print.c @@ -20,7 +20,6 @@ #include <camel/camel.h> -#include "e-mail-format-extensions.h" #include "e-mail-part-attachment.h" #include "e-mail-formatter-extension.h" #include "e-mail-formatter-utils.h" @@ -29,6 +28,11 @@ #include <gdk/gdk.h> #include <glib/gi18n.h> +/* internal formatter extensions */ +GType e_mail_formatter_print_headers_get_type (void); + +void e_mail_formatter_print_internal_extensions_load (EMailExtensionRegistry *ereg); + static gpointer e_mail_formatter_print_parent_class = 0; static void @@ -232,6 +236,9 @@ e_mail_formatter_print_class_init (EMailFormatterPrintClass *class) static void e_mail_formatter_print_base_init (EMailFormatterPrintClass *class) { + /* Register internal extensions. */ + g_type_ensure (e_mail_formatter_print_headers_get_type ()); + e_mail_formatter_print_internal_extensions_load ( E_MAIL_EXTENSION_REGISTRY ( E_MAIL_FORMATTER_CLASS (class)->extension_registry)); |