From b91e79ec73003ea724567bd79624ecd9003df8ae Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 15 Aug 2010 22:33:12 -0400 Subject: ESelectionModel cleanups. --- widgets/table/e-table-group-container.c | 2 +- widgets/table/e-table-group-leaf.c | 2 +- widgets/table/e-table-item.c | 2 +- widgets/table/e-tree-selection-model.c | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 2f45be08ec..57a1aa537c 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -981,7 +981,7 @@ etgc_class_init (ETableGroupContainerClass *klass) g_param_spec_object ("selection_model", "Selection model", "Selection model", - E_SELECTION_MODEL_TYPE, + E_TYPE_SELECTION_MODEL, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_LENGTH_THRESHOLD, diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c index 7d0f079cb6..c1ddbb677a 100644 --- a/widgets/table/e-table-group-leaf.c +++ b/widgets/table/e-table-group-leaf.c @@ -650,7 +650,7 @@ etgl_class_init (ETableGroupLeafClass *klass) g_param_spec_object ("selection_model", "Selection model", "Selection model", - E_SELECTION_MODEL_TYPE, + E_TYPE_SELECTION_MODEL, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index c0def7f286..9bf410a200 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -2850,7 +2850,7 @@ eti_class_init (ETableItemClass *klass) g_param_spec_object ("selection_model", "Selection model", "Selection model", - E_SELECTION_MODEL_TYPE, + E_TYPE_SELECTION_MODEL, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_ALTERNATING_ROW_COLORS, diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c index 0c877e2279..bcd6cfcc3e 100644 --- a/widgets/table/e-tree-selection-model.c +++ b/widgets/table/e-tree-selection-model.c @@ -29,7 +29,8 @@ #include "e-tree-selection-model.h" -G_DEFINE_TYPE (ETreeSelectionModel, e_tree_selection_model, E_SELECTION_MODEL_TYPE) +G_DEFINE_TYPE ( + ETreeSelectionModel, e_tree_selection_model, E_TYPE_SELECTION_MODEL) enum { PROP_0, -- cgit v1.2.3