diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-24 19:31:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-25 08:31:42 +0800 |
commit | f960fd2dff5358f0e13eba7041d35855bf48c22e (patch) | |
tree | 92859c8ba093fa15a3bd7b888332d6e61a704a51 /modules/vcard-inline | |
parent | 88db20f3e9ff38296c031671de963ae665fd8143 (diff) | |
download | gsoc2013-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/vcard-inline')
-rw-r--r-- | modules/vcard-inline/e-mail-formatter-vcard-inline.c | 2 | ||||
-rw-r--r-- | modules/vcard-inline/e-mail-parser-vcard-inline.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/modules/vcard-inline/e-mail-formatter-vcard-inline.c b/modules/vcard-inline/e-mail-formatter-vcard-inline.c index 54d095fc31..2fa6d2d024 100644 --- a/modules/vcard-inline/e-mail-formatter-vcard-inline.c +++ b/modules/vcard-inline/e-mail-formatter-vcard-inline.c @@ -226,8 +226,6 @@ e_mail_formatter_vcard_inline_class_init (EMailFormatterVCardInlineClass *klass) GObjectClass *object_class; EExtensionClass *extension_class; - e_mail_formatter_vcard_inline_parent_class = g_type_class_peek_parent (klass); - object_class = G_OBJECT_CLASS (klass); object_class->constructed = e_mail_formatter_vcard_inline_constructed; diff --git a/modules/vcard-inline/e-mail-parser-vcard-inline.c b/modules/vcard-inline/e-mail-parser-vcard-inline.c index e4827d0709..5ab297d049 100644 --- a/modules/vcard-inline/e-mail-parser-vcard-inline.c +++ b/modules/vcard-inline/e-mail-parser-vcard-inline.c @@ -412,8 +412,6 @@ e_mail_parser_vcard_inline_class_init (EMailParserVCardInlineClass *klass) GObjectClass *object_class; EExtensionClass *extension_class; - e_mail_parser_vcard_inline_parent_class = g_type_class_peek_parent (klass); - object_class = G_OBJECT_CLASS (klass); object_class->constructed = e_mail_parser_vcard_inline_constructed; |