aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
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 /widgets/table
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 'widgets/table')
-rw-r--r--widgets/table/e-table-header.c2
-rw-r--r--widgets/table/e-table-sort-info.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c
index 2045896532..2728a7ebd9 100644
--- a/widgets/table/e-table-header.c
+++ b/widgets/table/e-table-header.c
@@ -276,8 +276,6 @@ e_table_header_class_init (ETableHeaderClass *class)
object_class->set_property = eth_set_property;
object_class->get_property = eth_get_property;
- e_table_header_parent_class = g_type_class_peek_parent (object_class);
-
g_object_class_install_property (
object_class, PROP_WIDTH,
g_param_spec_double ("width", "Width", "Width",
diff --git a/widgets/table/e-table-sort-info.c b/widgets/table/e-table-sort-info.c
index c477618f09..c85731bc36 100644
--- a/widgets/table/e-table-sort-info.c
+++ b/widgets/table/e-table-sort-info.c
@@ -77,8 +77,6 @@ e_table_sort_info_class_init (ETableSortInfoClass *class)
{
GObjectClass * object_class = G_OBJECT_CLASS (class);
- e_table_sort_info_parent_class = g_type_class_peek_parent (class);
-
object_class->finalize = etsi_finalize;
e_table_sort_info_signals[SORT_INFO_CHANGED] =