diff options
Diffstat (limited to 'modules/vcard-inline')
-rw-r--r-- | modules/vcard-inline/e-mail-formatter-vcard-inline.c | 41 | ||||
-rw-r--r-- | modules/vcard-inline/e-mail-parser-vcard-inline.c | 41 |
2 files changed, 0 insertions, 82 deletions
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); } |