[evolution] e_mail_formatter_print_base_init(): Register internal extension types.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] e_mail_formatter_print_base_init(): Register internal extension types.
- Date: Fri, 7 Dec 2012 22:50:09 +0000 (UTC)
commit fef414503a7aa39fc992906497fffdb24a1df1e9
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Dec 7 14:58:09 2012 -0500
e_mail_formatter_print_base_init(): Register internal extension types.
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 62e4693..8e56445 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]