From 8b7b24623a18845166b69630d0d7148fda2a09b1 Mon Sep 17 00:00:00 2001 From: Harry Lu Date: Fri, 4 Feb 2005 04:49:02 +0000 Subject: Some code clean work. 2005-01-27 Harry Lu Some code clean work. * e-table-click-to-add.c: (etcta_class_init): move a11y registry call to a11y code. * e-table.c: (e_table_class_init): ditto. * e-tree.c: (e_tree_class_init): ditto. svn path=/trunk/; revision=28701 --- widgets/table/e-table.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'widgets/table/e-table.c') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 200b78b151..3a849fbf26 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -56,7 +56,7 @@ #include "e-table-utils.h" #include -#include "gal/a11y/e-table/gal-a11y-e-table-factory.h" +#include "gal/a11y/e-table/gal-a11y-e-table.h" #define COLUMN_HEADER_HEIGHT 16 @@ -3343,10 +3343,7 @@ e_table_class_init (ETableClass *class) E_TABLE_MODEL_TYPE, G_PARAM_READABLE)); - atk_registry_set_factory_type (atk_get_default_registry (), - E_TABLE_TYPE, - gal_a11y_e_table_factory_get_type ()); - + gal_a11y_e_table_init (); } E_MAKE_TYPE(e_table, "ETable", ETable, e_table_class_init, e_table_init, PARENT_TYPE) -- cgit v1.2.3