From f960fd2dff5358f0e13eba7041d35855bf48c22e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 24 Jun 2012 07:31:28 -0400 Subject: Reduce usage of g_type_class_peek_parent(). G_DEFINE_TYPE macros define a static "parent_class" variable. --- modules/text-highlight/text-highlight.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/text-highlight') diff --git a/modules/text-highlight/text-highlight.c b/modules/text-highlight/text-highlight.c index 462e5f0dc3..d5ebecb0f9 100644 --- a/modules/text-highlight/text-highlight.c +++ b/modules/text-highlight/text-highlight.c @@ -61,8 +61,6 @@ G_DEFINE_DYNAMIC_TYPE_EXTENDED ( E_TYPE_MAIL_FORMATTER_EXTENSION, e_mail_formatter_formatter_extension_interface_init)); -static gpointer emfe_parent_class = 0; - static const gchar *formatter_mime_types[] = { "text/x-diff", "text/x-patch", NULL }; @@ -279,8 +277,6 @@ e_mail_formatter_text_highlight_class_init (EMailFormatterTextHighlightClass *kl GObjectClass *object_class; EExtensionClass *extension_class; - emfe_parent_class = g_type_class_peek_parent (klass); - object_class = G_OBJECT_CLASS (klass); object_class->constructed = emfe_text_highlight_constructed; -- cgit v1.2.3