aboutsummaryrefslogtreecommitdiffstats
path: root/modules/text-highlight
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-24 19:31:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-25 08:31:42 +0800
commitf960fd2dff5358f0e13eba7041d35855bf48c22e (patch)
tree92859c8ba093fa15a3bd7b888332d6e61a704a51 /modules/text-highlight
parent88db20f3e9ff38296c031671de963ae665fd8143 (diff)
downloadgsoc2013-evolution-f960fd2dff5358f0e13eba7041d35855bf48c22e.tar
gsoc2013-evolution-f960fd2dff5358f0e13eba7041d35855bf48c22e.tar.gz
gsoc2013-evolution-f960fd2dff5358f0e13eba7041d35855bf48c22e.tar.bz2
gsoc2013-evolution-f960fd2dff5358f0e13eba7041d35855bf48c22e.tar.lz
gsoc2013-evolution-f960fd2dff5358f0e13eba7041d35855bf48c22e.tar.xz
gsoc2013-evolution-f960fd2dff5358f0e13eba7041d35855bf48c22e.tar.zst
gsoc2013-evolution-f960fd2dff5358f0e13eba7041d35855bf48c22e.zip
Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
Diffstat (limited to 'modules/text-highlight')
-rw-r--r--modules/text-highlight/text-highlight.c4
1 files changed, 0 insertions, 4 deletions
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;