aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-02-01 21:44:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-02-01 21:44:50 +0800
commit9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9 (patch)
tree93260e90be18cae0abc1c18738c3b3fad9268dc2 /modules
parente6a149efcee2aa45a4956d1e1da0e8f0b35b4cc7 (diff)
downloadgsoc2013-evolution-9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9.tar
gsoc2013-evolution-9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9.tar.gz
gsoc2013-evolution-9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9.tar.bz2
gsoc2013-evolution-9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9.tar.lz
gsoc2013-evolution-9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9.tar.xz
gsoc2013-evolution-9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9.tar.zst
gsoc2013-evolution-9a0b1266b5686d4985fec8a0dae7fdf00b1b8dd9.zip
Teach EMailExtensionRegistry to find extensions.
Restore this commit with a proper bug fix to follow.
Diffstat (limited to 'modules')
-rw-r--r--modules/audio-inline/e-mail-formatter-audio-inline.c41
-rw-r--r--modules/audio-inline/e-mail-parser-audio-inline.c41
-rw-r--r--modules/itip-formatter/e-mail-formatter-itip.c43
-rw-r--r--modules/itip-formatter/e-mail-parser-itip.c41
-rw-r--r--modules/prefer-plain/e-mail-parser-prefer-plain.c41
-rw-r--r--modules/text-highlight/e-mail-formatter-text-highlight.c41
-rw-r--r--modules/text-highlight/e-mail-parser-text-highlight.c41
-rw-r--r--modules/tnef-attachment/e-mail-parser-tnef-attachment.c41
-rw-r--r--modules/vcard-inline/e-mail-formatter-vcard-inline.c41
-rw-r--r--modules/vcard-inline/e-mail-parser-vcard-inline.c41
10 files changed, 0 insertions, 412 deletions
diff --git a/modules/audio-inline/e-mail-formatter-audio-inline.c b/modules/audio-inline/e-mail-formatter-audio-inline.c
index 235315a64d..7abcf934fa 100644
--- a/modules/audio-inline/e-mail-formatter-audio-inline.c
+++ b/modules/audio-inline/e-mail-formatter-audio-inline.c
@@ -43,18 +43,12 @@ typedef EExtension EMailFormatterAudioInlineLoader;
typedef EExtensionClass EMailFormatterAudioInlineLoaderClass;
GType e_mail_formatter_audio_inline_get_type (void);
-GType e_mail_formatter_audio_inline_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailFormatterAudioInline,
e_mail_formatter_audio_inline,
E_TYPE_MAIL_FORMATTER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailFormatterAudioInlineLoader,
- e_mail_formatter_audio_inline_loader,
- E_TYPE_EXTENSION)
-
static const gchar *formatter_mime_types[] = {
"application/vnd.evolution.widget.audio-inline",
"audio/ac3",
@@ -329,44 +323,9 @@ e_mail_formatter_audio_inline_init (EMailFormatterExtension *extension)
{
}
-static void
-mail_formatter_audio_inline_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- formatter_mime_types,
- e_mail_formatter_audio_inline_get_type ());
-}
-
-static void
-e_mail_formatter_audio_inline_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_formatter_audio_inline_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_FORMATTER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_formatter_audio_inline_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_formatter_audio_inline_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_formatter_audio_inline_type_register (GTypeModule *type_module)
{
e_mail_formatter_audio_inline_register_type (type_module);
- e_mail_formatter_audio_inline_loader_register_type (type_module);
}
diff --git a/modules/audio-inline/e-mail-parser-audio-inline.c b/modules/audio-inline/e-mail-parser-audio-inline.c
index a4ef834e1e..1ebbf905ba 100644
--- a/modules/audio-inline/e-mail-parser-audio-inline.c
+++ b/modules/audio-inline/e-mail-parser-audio-inline.c
@@ -45,18 +45,12 @@ typedef EExtension EMailParserAudioInlineLoader;
typedef EExtensionClass EMailParserAudioInlineLoaderClass;
GType e_mail_parser_audio_inline_get_type (void);
-GType e_mail_parser_audio_inline_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailParserAudioInline,
e_mail_parser_audio_inline,
E_TYPE_MAIL_PARSER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailParserAudioInlineLoader,
- e_mail_parser_audio_inline_loader,
- E_TYPE_EXTENSION)
-
static const gchar *parser_mime_types[] = {
"audio/ac3",
"audio/x-ac3",
@@ -164,44 +158,9 @@ e_mail_parser_audio_inline_init (EMailParserExtension *extension)
{
}
-static void
-mail_parser_audio_inline_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- parser_mime_types,
- e_mail_parser_audio_inline_get_type ());
-}
-
-static void
-e_mail_parser_audio_inline_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_parser_audio_inline_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_PARSER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_parser_audio_inline_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_parser_audio_inline_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_parser_audio_inline_type_register (GTypeModule *type_module)
{
e_mail_parser_audio_inline_register_type (type_module);
- e_mail_parser_audio_inline_loader_register_type (type_module);
}
diff --git a/modules/itip-formatter/e-mail-formatter-itip.c b/modules/itip-formatter/e-mail-formatter-itip.c
index 6d5a3f1ac1..500810b639 100644
--- a/modules/itip-formatter/e-mail-formatter-itip.c
+++ b/modules/itip-formatter/e-mail-formatter-itip.c
@@ -37,9 +37,6 @@
typedef EMailFormatterExtension EMailFormatterItip;
typedef EMailFormatterExtensionClass EMailFormatterItipClass;
-typedef EExtension EMailFormatterItipLoader;
-typedef EExtensionClass EMailFormatterItipLoaderClass;
-
GType e_mail_formatter_itip_get_type (void);
GType e_mail_formatter_itip_loader_get_type (void);
@@ -48,11 +45,6 @@ G_DEFINE_DYNAMIC_TYPE (
e_mail_formatter_itip,
E_TYPE_MAIL_FORMATTER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailFormatterItipLoader,
- e_mail_formatter_itip_loader,
- E_TYPE_EXTENSION)
-
static const gchar *formatter_mime_types[] = {
"text/calendar",
"application/ics",
@@ -166,43 +158,8 @@ e_mail_formatter_itip_init (EMailFormatterExtension *extension)
{
}
-static void
-mail_formatter_itip_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- formatter_mime_types,
- e_mail_formatter_itip_get_type ());
-}
-
-static void
-e_mail_formatter_itip_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_formatter_itip_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_FORMATTER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_formatter_itip_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_formatter_itip_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_formatter_itip_type_register (GTypeModule *type_module)
{
e_mail_formatter_itip_register_type (type_module);
- e_mail_formatter_itip_loader_register_type (type_module);
}
diff --git a/modules/itip-formatter/e-mail-parser-itip.c b/modules/itip-formatter/e-mail-parser-itip.c
index 5d2cb458f1..9e5ff46e45 100644
--- a/modules/itip-formatter/e-mail-parser-itip.c
+++ b/modules/itip-formatter/e-mail-parser-itip.c
@@ -50,18 +50,12 @@ typedef EExtension EMailParserItipLoader;
typedef EExtensionClass EMailParserItipLoaderClass;
GType e_mail_parser_itip_get_type (void);
-GType e_mail_parser_itip_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailParserItip,
e_mail_parser_itip,
E_TYPE_MAIL_PARSER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailParserItipLoader,
- e_mail_parser_itip_loader,
- E_TYPE_EXTENSION)
-
static const gchar *parser_mime_types[] = {
"text/calendar",
"application/ics",
@@ -265,44 +259,9 @@ e_mail_parser_itip_init (EMailParserExtension *class)
{
}
-static void
-mail_parser_itip_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- parser_mime_types,
- e_mail_parser_itip_get_type ());
-}
-
-static void
-e_mail_parser_itip_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_parser_itip_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_PARSER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_parser_itip_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_parser_itip_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_parser_itip_type_register (GTypeModule *type_module)
{
e_mail_parser_itip_register_type (type_module);
- e_mail_parser_itip_loader_register_type (type_module);
}
diff --git a/modules/prefer-plain/e-mail-parser-prefer-plain.c b/modules/prefer-plain/e-mail-parser-prefer-plain.c
index dfe4b22092..914b96952d 100644
--- a/modules/prefer-plain/e-mail-parser-prefer-plain.c
+++ b/modules/prefer-plain/e-mail-parser-prefer-plain.c
@@ -51,7 +51,6 @@ struct _EMailParserPreferPlainClass {
};
GType e_mail_parser_prefer_plain_get_type (void);
-GType e_mail_parser_prefer_plain_loader_get_type (void);
enum {
PREFER_HTML,
@@ -64,11 +63,6 @@ G_DEFINE_DYNAMIC_TYPE (
e_mail_parser_prefer_plain,
E_TYPE_MAIL_PARSER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailParserPreferPlainLoader,
- e_mail_parser_prefer_plain_loader,
- E_TYPE_EXTENSION)
-
static const gchar *parser_mime_types[] = {
"multipart/alternative",
"text/html",
@@ -505,44 +499,9 @@ e_mail_parser_prefer_plain_init (EMailParserPreferPlain *parser)
parser->show_suppressed = g_settings_get_boolean (parser->settings, "show-suppressed");
}
-static void
-mail_parser_prefer_plain_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- parser_mime_types,
- e_mail_parser_prefer_plain_get_type ());
-}
-
-static void
-e_mail_parser_prefer_plain_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_parser_prefer_plain_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_PARSER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_parser_prefer_plain_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_parser_prefer_plain_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_parser_prefer_plain_type_register (GTypeModule *type_module)
{
e_mail_parser_prefer_plain_register_type (type_module);
- e_mail_parser_prefer_plain_loader_register_type (type_module);
}
diff --git a/modules/text-highlight/e-mail-formatter-text-highlight.c b/modules/text-highlight/e-mail-formatter-text-highlight.c
index ea4cb6c839..5e8c15c16c 100644
--- a/modules/text-highlight/e-mail-formatter-text-highlight.c
+++ b/modules/text-highlight/e-mail-formatter-text-highlight.c
@@ -45,18 +45,12 @@ typedef EExtension EMailFormatterTextHighlightLoader;
typedef EExtensionClass EMailFormatterTextHighlightLoaderClass;
GType e_mail_formatter_text_highlight_get_type (void);
-GType e_mail_formatter_text_highlight_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailFormatterTextHighlight,
e_mail_formatter_text_highlight,
E_TYPE_MAIL_FORMATTER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailFormatterTextHighlightLoader,
- e_mail_formatter_text_highlight_loader,
- E_TYPE_EXTENSION)
-
static gchar *
get_default_font (void)
{
@@ -390,44 +384,9 @@ e_mail_formatter_text_highlight_init (EMailFormatterExtension *extension)
{
}
-static void
-mail_formatter_text_highlight_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- get_mime_types (),
- e_mail_formatter_text_highlight_get_type ());
-}
-
-static void
-e_mail_formatter_text_highlight_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_formatter_text_highlight_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_FORMATTER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_formatter_text_highlight_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_formatter_text_highlight_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_formatter_text_highlight_type_register (GTypeModule *type_module)
{
e_mail_formatter_text_highlight_register_type (type_module);
- e_mail_formatter_text_highlight_loader_register_type (type_module);
}
diff --git a/modules/text-highlight/e-mail-parser-text-highlight.c b/modules/text-highlight/e-mail-parser-text-highlight.c
index 99d920fe0b..28d10409b1 100644
--- a/modules/text-highlight/e-mail-parser-text-highlight.c
+++ b/modules/text-highlight/e-mail-parser-text-highlight.c
@@ -41,18 +41,12 @@ typedef EExtension EMailParserTextHighlightLoader;
typedef EExtensionClass EMailParserTextHighlightLoaderClass;
GType e_mail_parser_text_highlight_get_type (void);
-GType e_mail_parser_text_highlight_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailParserTextHighlight,
e_mail_parser_text_highlight,
E_TYPE_MAIL_PARSER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailParserTextHighlightLoader,
- e_mail_parser_text_highlight_loader,
- E_TYPE_EXTENSION)
-
static gboolean
empe_text_highlight_parse (EMailParserExtension *extension,
EMailParser *parser,
@@ -110,44 +104,9 @@ e_mail_parser_text_highlight_init (EMailParserExtension *extension)
{
}
-static void
-mail_parser_text_highlight_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- get_mime_types (),
- e_mail_parser_text_highlight_get_type ());
-}
-
-static void
-e_mail_parser_text_highlight_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_parser_text_highlight_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_PARSER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_parser_text_highlight_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_parser_text_highlight_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_parser_text_highlight_type_register (GTypeModule *type_module)
{
e_mail_parser_text_highlight_register_type (type_module);
- e_mail_parser_text_highlight_loader_register_type (type_module);
}
diff --git a/modules/tnef-attachment/e-mail-parser-tnef-attachment.c b/modules/tnef-attachment/e-mail-parser-tnef-attachment.c
index cc9d024349..dc93b91955 100644
--- a/modules/tnef-attachment/e-mail-parser-tnef-attachment.c
+++ b/modules/tnef-attachment/e-mail-parser-tnef-attachment.c
@@ -64,18 +64,12 @@ typedef EExtension EMailParserTnefAttachmentLoader;
typedef EExtensionClass EMailParserTnefAttachmentLoaderClass;
GType e_mail_parser_tnef_attachment_get_type (void);
-GType e_mail_parser_tnef_attachment_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailParserTnefAttachment,
e_mail_parser_tnef_attachment,
E_TYPE_MAIL_PARSER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailParserTnefAttachmentLoader,
- e_mail_parser_tnef_attachment_loader,
- E_TYPE_EXTENSION)
-
static const gchar *parser_mime_types[] = {
"application/vnd.ms-tnef",
"application/ms-tnefl",
@@ -280,45 +274,10 @@ e_mail_parser_tnef_attachment_init (EMailParserTnefAttachment *extension)
{
}
-static void
-mail_parser_tnef_attachment_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- parser_mime_types,
- e_mail_parser_tnef_attachment_get_type ());
-}
-
-static void
-e_mail_parser_tnef_attachment_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_parser_tnef_attachment_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_PARSER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_parser_tnef_attachment_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_parser_tnef_attachment_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_parser_tnef_attachment_type_register (GTypeModule *type_module)
{
e_mail_parser_tnef_attachment_register_type (type_module);
- e_mail_parser_tnef_attachment_loader_register_type (type_module);
}
void
diff --git a/modules/vcard-inline/e-mail-formatter-vcard-inline.c b/modules/vcard-inline/e-mail-formatter-vcard-inline.c
index 3032f23560..bcced23351 100644
--- a/modules/vcard-inline/e-mail-formatter-vcard-inline.c
+++ b/modules/vcard-inline/e-mail-formatter-vcard-inline.c
@@ -43,18 +43,12 @@ typedef EExtension EMailFormatterVCardInlineLoader;
typedef EExtensionClass EMailFormatterVCardInlineLoaderClass;
GType e_mail_formatter_vcard_inline_get_type (void);
-GType e_mail_formatter_vcard_inline_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailFormatterVCardInline,
e_mail_formatter_vcard_inline,
E_TYPE_MAIL_FORMATTER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailFormatterVCardInlineLoader,
- e_mail_formatter_vcard_inline_loader,
- E_TYPE_EXTENSION)
-
static const gchar *formatter_mime_types[] = {
"text/vcard",
"text/x-vcard",
@@ -223,44 +217,9 @@ e_mail_formatter_vcard_inline_init (EMailFormatterExtension *extension)
{
}
-static void
-mail_formatter_vcard_inline_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- formatter_mime_types,
- e_mail_formatter_vcard_inline_get_type ());
-}
-
-static void
-e_mail_formatter_vcard_inline_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_formatter_vcard_inline_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_FORMATTER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_formatter_vcard_inline_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_formatter_vcard_inline_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_formatter_vcard_inline_type_register (GTypeModule *type_module)
{
e_mail_formatter_vcard_inline_register_type (type_module);
- e_mail_formatter_vcard_inline_loader_register_type (type_module);
}
diff --git a/modules/vcard-inline/e-mail-parser-vcard-inline.c b/modules/vcard-inline/e-mail-parser-vcard-inline.c
index 00fed5b96a..e59c2543d4 100644
--- a/modules/vcard-inline/e-mail-parser-vcard-inline.c
+++ b/modules/vcard-inline/e-mail-parser-vcard-inline.c
@@ -54,18 +54,12 @@ typedef EExtension EMailParserVCardInlineLoader;
typedef EExtensionClass EMailParserVCardInlineLoaderClass;
GType e_mail_parser_vcard_inline_get_type (void);
-GType e_mail_parser_vcard_inline_loader_get_type (void);
G_DEFINE_DYNAMIC_TYPE (
EMailParserVCardInline,
e_mail_parser_vcard_inline,
E_TYPE_MAIL_PARSER_EXTENSION)
-G_DEFINE_DYNAMIC_TYPE (
- EMailParserVCardInlineLoader,
- e_mail_parser_vcard_inline_loader,
- E_TYPE_EXTENSION)
-
static const gchar *parser_mime_types[] = {
"text/vcard",
"text/x-vcard",
@@ -387,44 +381,9 @@ e_mail_parser_vcard_inline_init (EMailParserExtension *extension)
{
}
-static void
-mail_parser_vcard_inline_loader_constructed (GObject *object)
-{
- EExtensible *extensible;
-
- extensible = e_extension_get_extensible (E_EXTENSION (object));
-
- e_mail_extension_registry_add_extension (
- E_MAIL_EXTENSION_REGISTRY (extensible),
- parser_mime_types,
- e_mail_parser_vcard_inline_get_type ());
-}
-
-static void
-e_mail_parser_vcard_inline_loader_class_init (EExtensionClass *class)
-{
- GObjectClass *object_class;
-
- object_class = G_OBJECT_CLASS (class);
- object_class->constructed = mail_parser_vcard_inline_loader_constructed;
-
- class->extensible_type = E_TYPE_MAIL_PARSER_EXTENSION_REGISTRY;
-}
-
-static void
-e_mail_parser_vcard_inline_loader_class_finalize (EExtensionClass *class)
-{
-}
-
-static void
-e_mail_parser_vcard_inline_loader_init (EExtension *extension)
-{
-}
-
void
e_mail_parser_vcard_inline_type_register (GTypeModule *type_module)
{
e_mail_parser_vcard_inline_register_type (type_module);
- e_mail_parser_vcard_inline_loader_register_type (type_module);
}