diff options
Diffstat (limited to 'em-format')
42 files changed, 3 insertions, 48 deletions
diff --git a/em-format/e-mail-extension-registry.c b/em-format/e-mail-extension-registry.c index ef08761300..2589a8d503 100644 --- a/em-format/e-mail-extension-registry.c +++ b/em-format/e-mail-extension-registry.c @@ -36,8 +36,6 @@ struct _EMailExtensionRegistryPrivate { GHashTable *table; }; -static gconstpointer parent_class = 0; - G_DEFINE_ABSTRACT_TYPE ( EMailExtensionRegistry, e_mail_extension_registry, @@ -65,8 +63,9 @@ mail_extension_registry_finalize (GObject *object) reg->priv->table = NULL; } - /* Chain up to parent's finalize() */ - G_OBJECT_CLASS (parent_class)->finalize (object); + /* Chain up to parent's finalize() method. */ + G_OBJECT_CLASS (e_mail_extension_registry_parent_class)-> + finalize (object); } void @@ -248,13 +247,11 @@ G_DEFINE_TYPE_WITH_CODE ( static void e_mail_parser_extension_registry_init (EMailParserExtensionRegistry *parser_ereg) { - } static void e_mail_parser_extension_registry_class_init (EMailParserExtensionRegistryClass *klass) { - e_mail_parser_extension_registry_parent_class = g_type_class_peek_parent (klass); } static void @@ -284,7 +281,6 @@ e_mail_formatter_extension_registry_init (EMailFormatterExtensionRegistry *forma static void e_mail_formatter_extension_registry_class_init (EMailFormatterExtensionRegistryClass *klass) { - e_mail_formatter_extension_registry_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-attachment-bar.c b/em-format/e-mail-formatter-attachment-bar.c index c1fda1636c..22da7e2b0d 100644 --- a/em-format/e-mail-formatter-attachment-bar.c +++ b/em-format/e-mail-formatter-attachment-bar.c @@ -129,7 +129,6 @@ emfe_attachment_bar_mime_types (EMailExtension *extension) static void e_mail_formatter_attachment_bar_class_init (EMailFormatterAttachmentBarClass *klass) { - e_mail_formatter_attachment_bar_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-attachment.c b/em-format/e-mail-formatter-attachment.c index 3d63413a69..75e9ec76b7 100644 --- a/em-format/e-mail-formatter-attachment.c +++ b/em-format/e-mail-formatter-attachment.c @@ -378,7 +378,6 @@ emfe_attachment_mime_types (EMailExtension *extension) static void e_mail_formatter_attachment_class_init (EMailFormatterAttachmentClass *klass) { - e_mail_formatter_attachment_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-error.c b/em-format/e-mail-formatter-error.c index 95f201145b..93b36b28bf 100644 --- a/em-format/e-mail-formatter-error.c +++ b/em-format/e-mail-formatter-error.c @@ -136,7 +136,6 @@ emfe_error_mime_types (EMailExtension *extension) static void e_mail_formatter_error_class_init (EMailFormatterErrorClass *klass) { - e_mail_formatter_error_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-headers.c b/em-format/e-mail-formatter-headers.c index fdfbd83e8d..75fa9b5aa9 100644 --- a/em-format/e-mail-formatter-headers.c +++ b/em-format/e-mail-formatter-headers.c @@ -587,7 +587,6 @@ emfe_headers_mime_types (EMailExtension *extension) static void e_mail_formatter_headers_class_init (EMailFormatterHeadersClass *klass) { - e_mail_formatter_headers_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-image.c b/em-format/e-mail-formatter-image.c index 890e9f3dcc..0ec8910f15 100644 --- a/em-format/e-mail-formatter-image.c +++ b/em-format/e-mail-formatter-image.c @@ -167,7 +167,6 @@ emfe_image_mime_types (EMailExtension *extension) static void e_mail_formatter_image_class_init (EMailFormatterImageClass *klass) { - e_mail_formatter_image_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-message-rfc822.c b/em-format/e-mail-formatter-message-rfc822.c index 558579b00a..bfbda51eab 100644 --- a/em-format/e-mail-formatter-message-rfc822.c +++ b/em-format/e-mail-formatter-message-rfc822.c @@ -252,7 +252,6 @@ emfe_message_rfc822_mime_types (EMailExtension *extension) static void e_mail_formatter_message_rfc822_class_init (EMailFormatterMessageRFC822Class *klass) { - e_mail_formatter_message_rfc822_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-print-headers.c b/em-format/e-mail-formatter-print-headers.c index 86fc85b063..2ee2b665a7 100644 --- a/em-format/e-mail-formatter-print-headers.c +++ b/em-format/e-mail-formatter-print-headers.c @@ -234,7 +234,6 @@ emfpe_headers_mime_types (EMailExtension *extension) static void e_mail_formatter_print_headers_class_init (EMailFormatterPrintHeadersClass *klass) { - e_mail_formatter_print_headers_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-quote-attachment.c b/em-format/e-mail-formatter-quote-attachment.c index 590f23ee6d..f6cb44bf1c 100644 --- a/em-format/e-mail-formatter-quote-attachment.c +++ b/em-format/e-mail-formatter-quote-attachment.c @@ -139,7 +139,6 @@ emfqe_attachment_mime_types (EMailExtension *extension) static void e_mail_formatter_quote_attachment_class_init (EMailFormatterQuoteAttachmentClass *klass) { - e_mail_formatter_quote_attachment_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-quote-headers.c b/em-format/e-mail-formatter-quote-headers.c index f1b2b2e61f..8e7a57f8ce 100644 --- a/em-format/e-mail-formatter-quote-headers.c +++ b/em-format/e-mail-formatter-quote-headers.c @@ -138,7 +138,6 @@ emqfe_headers_mime_types (EMailExtension *extension) static void e_mail_formatter_quote_headers_class_init (EMailFormatterQuoteHeadersClass *klass) { - e_mail_formatter_quote_headers_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-quote-message-rfc822.c b/em-format/e-mail-formatter-quote-message-rfc822.c index 847686240f..18ec0af348 100644 --- a/em-format/e-mail-formatter-quote-message-rfc822.c +++ b/em-format/e-mail-formatter-quote-message-rfc822.c @@ -164,7 +164,6 @@ emfqe_message_rfc822_mime_types (EMailExtension *extension) static void e_mail_formatter_quote_message_rfc822_class_init (EMailFormatterQuoteMessageRFC822Class *klass) { - e_mail_formatter_quote_message_rfc822_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-quote-text-enriched.c b/em-format/e-mail-formatter-quote-text-enriched.c index e48154edd8..a98046397c 100644 --- a/em-format/e-mail-formatter-quote-text-enriched.c +++ b/em-format/e-mail-formatter-quote-text-enriched.c @@ -117,7 +117,6 @@ emqfe_text_enriched_mime_types (EMailExtension *extension) static void e_mail_formatter_quote_text_enriched_class_init (EMailFormatterQuoteTextEnrichedClass *klass) { - e_mail_formatter_quote_text_enriched_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-quote-text-html.c b/em-format/e-mail-formatter-quote-text-html.c index d4ef287878..9f4159f4ed 100644 --- a/em-format/e-mail-formatter-quote-text-html.c +++ b/em-format/e-mail-formatter-quote-text-html.c @@ -119,7 +119,6 @@ emqfe_text_html_mime_types (EMailExtension *extension) static void e_mail_formatter_quote_text_html_class_init (EMailFormatterQuoteTextHTMLClass *klass) { - e_mail_formatter_quote_text_html_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-quote-text-plain.c b/em-format/e-mail-formatter-quote-text-plain.c index 062e945fea..31974b2ed2 100644 --- a/em-format/e-mail-formatter-quote-text-plain.c +++ b/em-format/e-mail-formatter-quote-text-plain.c @@ -138,7 +138,6 @@ emqfe_text_plain_mime_types (EMailExtension *extension) static void e_mail_formatter_quote_text_plain_class_init (EMailFormatterQuoteTextPlainClass *klass) { - e_mail_formatter_quote_text_plain_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-secure-button.c b/em-format/e-mail-formatter-secure-button.c index 05319ef7fc..ea9d484cf8 100644 --- a/em-format/e-mail-formatter-secure-button.c +++ b/em-format/e-mail-formatter-secure-button.c @@ -447,7 +447,6 @@ emfe_secure_button_mime_types (EMailExtension *extension) static void e_mail_formatter_secure_button_class_init (EMailFormatterSecureButtonClass *klass) { - e_mail_formatter_secure_button_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-source.c b/em-format/e-mail-formatter-source.c index 92c3a925f1..2ec5bcbaab 100644 --- a/em-format/e-mail-formatter-source.c +++ b/em-format/e-mail-formatter-source.c @@ -154,7 +154,6 @@ emfe_source_mime_types (EMailExtension *extension) static void e_mail_formatter_source_class_init (EMailFormatterSourceClass *klass) { - e_mail_formatter_source_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-text-enriched.c b/em-format/e-mail-formatter-text-enriched.c index fce7b317e2..a887ef141a 100644 --- a/em-format/e-mail-formatter-text-enriched.c +++ b/em-format/e-mail-formatter-text-enriched.c @@ -130,7 +130,6 @@ emfe_text_enriched_mime_types (EMailExtension *extension) static void e_mail_formatter_text_enriched_class_init (EMailFormatterTextEnrichedClass *klass) { - e_mail_formatter_text_enriched_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-text-html.c b/em-format/e-mail-formatter-text-html.c index 28fb2644de..e06f6d7ca7 100644 --- a/em-format/e-mail-formatter-text-html.c +++ b/em-format/e-mail-formatter-text-html.c @@ -352,7 +352,6 @@ emfe_text_html_mime_types (EMailExtension *extension) static void e_mail_formatter_text_html_class_init (EMailFormatterTextHTMLClass *klass) { - e_mail_formatter_text_html_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-formatter-text-plain.c b/em-format/e-mail-formatter-text-plain.c index 631c46a3bc..f63a2c228e 100644 --- a/em-format/e-mail-formatter-text-plain.c +++ b/em-format/e-mail-formatter-text-plain.c @@ -188,7 +188,6 @@ emfe_text_plain_mime_types (EMailExtension *extension) static void e_mail_formatter_text_plain_class_init (EMailFormatterTextPlainClass *klass) { - e_mail_formatter_text_plain_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-application-mbox.c b/em-format/e-mail-parser-application-mbox.c index c396c48416..313d2c8787 100644 --- a/em-format/e-mail-parser-application-mbox.c +++ b/em-format/e-mail-parser-application-mbox.c @@ -191,7 +191,6 @@ empe_app_mbox_mime_types (EMailExtension *extension) static void e_mail_parser_application_mbox_class_init (EMailParserApplicationMBoxClass *klass) { - e_mail_parser_application_mbox_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-application-smime.c b/em-format/e-mail-parser-application-smime.c index 12bce2fa56..4fb7115cf1 100644 --- a/em-format/e-mail-parser-application-smime.c +++ b/em-format/e-mail-parser-application-smime.c @@ -176,7 +176,6 @@ empe_application_smime_mime_types (EMailExtension *extension) static void e_mail_parser_application_smime_class_init (EMailParserApplicationSMIMEClass *klass) { - e_mail_parser_application_smime_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-attachment-bar.c b/em-format/e-mail-parser-attachment-bar.c index 009869d43c..c50e807747 100644 --- a/em-format/e-mail-parser-attachment-bar.c +++ b/em-format/e-mail-parser-attachment-bar.c @@ -98,7 +98,6 @@ empe_attachment_bar_mime_types (EMailExtension *extension) static void e_mail_parser_attachment_bar_class_init (EMailParserAttachmentBarClass *klass) { - e_mail_parser_attachment_bar_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-headers.c b/em-format/e-mail-parser-headers.c index 76b846464d..249cc65619 100644 --- a/em-format/e-mail-parser-headers.c +++ b/em-format/e-mail-parser-headers.c @@ -120,7 +120,6 @@ empe_headers_mime_types (EMailExtension *extension) static void e_mail_parser_headers_class_init (EMailParserHeadersClass *klass) { - e_mail_parser_headers_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-image.c b/em-format/e-mail-parser-image.c index 2fb1fdff2f..30769c67df 100644 --- a/em-format/e-mail-parser-image.c +++ b/em-format/e-mail-parser-image.c @@ -125,7 +125,6 @@ empe_image_mime_types (EMailExtension *extension) static void e_mail_parser_image_class_init (EMailParserImageClass *klass) { - e_mail_parser_image_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-inlinepgp-encrypted.c b/em-format/e-mail-parser-inlinepgp-encrypted.c index 5395b7be7e..d273f8b67d 100644 --- a/em-format/e-mail-parser-inlinepgp-encrypted.c +++ b/em-format/e-mail-parser-inlinepgp-encrypted.c @@ -183,7 +183,6 @@ empe_inlinepgp_encrypted_mime_types (EMailExtension *extension) static void e_mail_parser_inline_pgp_encrypted_class_init (EMailParserInlinePGPEncryptedClass *klass) { - e_mail_parser_inline_pgp_encrypted_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-inlinepgp-signed.c b/em-format/e-mail-parser-inlinepgp-signed.c index ff475054d9..e86096e160 100644 --- a/em-format/e-mail-parser-inlinepgp-signed.c +++ b/em-format/e-mail-parser-inlinepgp-signed.c @@ -207,7 +207,6 @@ empe_inlinepgp_signed_mime_types (EMailExtension *extension) static void e_mail_parser_inline_pgp_signed_class_init (EMailParserInlinePGPSignedClass *klass) { - e_mail_parser_inline_pgp_signed_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-message-deliverystatus.c b/em-format/e-mail-parser-message-deliverystatus.c index feae7c2cf5..fe2ec90b60 100644 --- a/em-format/e-mail-parser-message-deliverystatus.c +++ b/em-format/e-mail-parser-message-deliverystatus.c @@ -94,7 +94,6 @@ empe_msg_deliverystatus_mime_types (EMailExtension *extension) static void e_mail_parser_message_delivery_status_class_init (EMailParserMessageDeliveryStatusClass *klass) { - e_mail_parser_message_delivery_status_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-message-external.c b/em-format/e-mail-parser-message-external.c index 8c02a3ef3b..aa65893ce3 100644 --- a/em-format/e-mail-parser-message-external.c +++ b/em-format/e-mail-parser-message-external.c @@ -189,7 +189,6 @@ empe_msg_external_mime_types (EMailExtension *extension) static void e_mail_parser_message_external_class_init (EMailParserMessageExternalClass *klass) { - e_mail_parser_message_external_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-message-rfc822.c b/em-format/e-mail-parser-message-rfc822.c index 75b0306d84..fe81811e35 100644 --- a/em-format/e-mail-parser-message-rfc822.c +++ b/em-format/e-mail-parser-message-rfc822.c @@ -151,7 +151,6 @@ empe_msg_rfc822_mime_types (EMailExtension *extension) static void e_mail_parser_message_rfc822_class_init (EMailParserMessageRFC822Class *klass) { - e_mail_parser_message_rfc822_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-message.c b/em-format/e-mail-parser-message.c index acfebb8977..c9a64d2709 100644 --- a/em-format/e-mail-parser-message.c +++ b/em-format/e-mail-parser-message.c @@ -107,7 +107,6 @@ empe_message_mime_types (EMailExtension *extension) static void e_mail_parser_message_class_init (EMailParserMessageClass *klass) { - e_mail_parser_message_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-multipart-alternative.c b/em-format/e-mail-parser-multipart-alternative.c index c8bbfdc31d..a5c04d1a17 100644 --- a/em-format/e-mail-parser-multipart-alternative.c +++ b/em-format/e-mail-parser-multipart-alternative.c @@ -169,7 +169,6 @@ empe_mp_alternative_mime_types (EMailExtension *extension) static void e_mail_parser_multipart_alternative_class_init (EMailParserMultipartAlternativeClass *klass) { - e_mail_parser_multipart_alternative_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-multipart-appledouble.c b/em-format/e-mail-parser-multipart-appledouble.c index 5591b10dd5..2567a1d52a 100644 --- a/em-format/e-mail-parser-multipart-appledouble.c +++ b/em-format/e-mail-parser-multipart-appledouble.c @@ -108,7 +108,6 @@ empe_mp_appledouble_mime_types (EMailExtension *extension) static void e_mail_parser_multipart_apple_double_class_init (EMailParserMultipartAppleDoubleClass *klass) { - e_mail_parser_multipart_apple_double_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-multipart-digest.c b/em-format/e-mail-parser-multipart-digest.c index 5b96d1fa23..78523b2d59 100644 --- a/em-format/e-mail-parser-multipart-digest.c +++ b/em-format/e-mail-parser-multipart-digest.c @@ -152,7 +152,6 @@ empe_mp_digest_mime_types (EMailExtension *extension) static void e_mail_parser_multipart_digest_class_init (EMailParserMultipartDigestClass *klass) { - e_mail_parser_multipart_digest_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-multipart-encrypted.c b/em-format/e-mail-parser-multipart-encrypted.c index f03588ac82..52d420048a 100644 --- a/em-format/e-mail-parser-multipart-encrypted.c +++ b/em-format/e-mail-parser-multipart-encrypted.c @@ -198,7 +198,6 @@ empe_mp_encrypted_mime_types (EMailExtension *extension) static void e_mail_parser_multipart_encrypted_class_init (EMailParserMultipartEncryptedClass *klass) { - e_mail_parser_multipart_encrypted_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-multipart-mixed.c b/em-format/e-mail-parser-multipart-mixed.c index 0da450f747..c622d46a0f 100644 --- a/em-format/e-mail-parser-multipart-mixed.c +++ b/em-format/e-mail-parser-multipart-mixed.c @@ -135,7 +135,6 @@ empe_mp_mixed_mime_types (EMailExtension *extension) static void e_mail_parser_multipart_mixed_class_init (EMailParserMultipartMixedClass *klass) { - e_mail_parser_multipart_mixed_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-multipart-related.c b/em-format/e-mail-parser-multipart-related.c index ee536af319..ec5988e325 100644 --- a/em-format/e-mail-parser-multipart-related.c +++ b/em-format/e-mail-parser-multipart-related.c @@ -141,7 +141,6 @@ empe_mp_related_mime_types (EMailExtension *extension) static void e_mail_parser_multipart_related_class_init (EMailParserMultipartRelatedClass *klass) { - e_mail_parser_multipart_related_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-multipart-signed.c b/em-format/e-mail-parser-multipart-signed.c index 37bedc91f0..798d3153ab 100644 --- a/em-format/e-mail-parser-multipart-signed.c +++ b/em-format/e-mail-parser-multipart-signed.c @@ -230,7 +230,6 @@ empe_mp_signed_mime_types (EMailExtension *extension) static void e_mail_parser_multipart_signed_class_init (EMailParserMultipartSignedClass *klass) { - e_mail_parser_multipart_signed_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-secure-button.c b/em-format/e-mail-parser-secure-button.c index 6c8a0e69c6..e32bb78797 100644 --- a/em-format/e-mail-parser-secure-button.c +++ b/em-format/e-mail-parser-secure-button.c @@ -82,7 +82,6 @@ empe_secure_button_mime_types (EMailExtension *extension) static void e_mail_parser_secure_button_class_init (EMailParserSecureButtonClass *klass) { - e_mail_parser_secure_button_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-source.c b/em-format/e-mail-parser-source.c index ae1a9a3a51..8f06beebab 100644 --- a/em-format/e-mail-parser-source.c +++ b/em-format/e-mail-parser-source.c @@ -86,7 +86,6 @@ empe_source_mime_types (EMailExtension *extension) static void e_mail_parser_source_class_init (EMailParserSourceClass *klass) { - e_mail_parser_source_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-text-enriched.c b/em-format/e-mail-parser-text-enriched.c index fad71f825b..e456fbb6fc 100644 --- a/em-format/e-mail-parser-text-enriched.c +++ b/em-format/e-mail-parser-text-enriched.c @@ -106,7 +106,6 @@ empe_text_enriched_mime_types (EMailExtension *extension) static void e_mail_parser_text_enriched_class_init (EMailParserTextEnrichedClass *klass) { - e_mail_parser_text_enriched_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-text-html.c b/em-format/e-mail-parser-text-html.c index 05c7bcd242..bf3cf0e1b7 100644 --- a/em-format/e-mail-parser-text-html.c +++ b/em-format/e-mail-parser-text-html.c @@ -116,7 +116,6 @@ empe_text_html_mime_types (EMailExtension *extension) static void e_mail_parser_text_html_class_init (EMailParserTextHTMLClass *klass) { - e_mail_parser_text_html_parent_class = g_type_class_peek_parent (klass); } static void diff --git a/em-format/e-mail-parser-text-plain.c b/em-format/e-mail-parser-text-plain.c index 999030447b..af6947ada1 100644 --- a/em-format/e-mail-parser-text-plain.c +++ b/em-format/e-mail-parser-text-plain.c @@ -231,7 +231,6 @@ empe_text_plain_mime_types (EMailExtension *extension) static void e_mail_parser_text_plain_class_init (EMailParserTextPlainClass *klass) { - e_mail_parser_text_plain_parent_class = g_type_class_peek_parent (klass); } static void |