From 465c8ae9a0cac78793cac6097b6bfbabc3a342de Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Fri, 26 Nov 1999 19:25:02 +0000 Subject: Compute height using the ecell methods here. (eti_get_height): new method 1999-11-26 Miguel de Icaza * e-table-item.c (eti_realize): Compute height using the ecell methods here. (eti_get_height): new method to compute dimensions. * e-cursors.c: use a different cursor. * e-table-model.h: kill height and row_height methods. * e-cell.c (ec_height): New method. * e-cell-text.c (ect_realize): Load the font from the canvas. (ect_draw): New color setup. Center in the row. (ect_height): Implement new method. 1999-11-26 Michael Meeks * ROADMAP.e-table: small spelling/typo fixes. 1999-11-25 Miguel de Icaza * e-table-item.c (eti_event): Work on mouse-button event svn path=/trunk/; revision=1439 --- widgets/e-table/e-table-simple.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'widgets/e-table/e-table-simple.c') diff --git a/widgets/e-table/e-table-simple.c b/widgets/e-table/e-table-simple.c index b23cda1220..16691e5442 100644 --- a/widgets/e-table/e-table-simple.c +++ b/widgets/e-table/e-table-simple.c @@ -62,14 +62,6 @@ simple_is_cell_editable (ETableModel *etm, int col, int row) return simple->is_cell_editable (etm, col, row, simple->data); } -static int -simple_row_height (ETableModel *etm, int row) -{ - ETableSimple *simple = (ETableSimple *)etm; - - return simple->row_height (etm, row, simple->data); -} - static void e_table_simple_class_init (GtkObjectClass *object_class) { @@ -81,7 +73,6 @@ e_table_simple_class_init (GtkObjectClass *object_class) model_class->value_at = simple_value_at; model_class->set_value_at = simple_set_value_at; model_class->is_cell_editable = simple_is_cell_editable; - model_class->row_height = simple_row_height; } GtkType @@ -114,7 +105,6 @@ e_table_simple_new (ETableSimpleColumnCountFn col_count, ETableSimpleValueAtFn value_at, ETableSimpleSetValueAtFn set_value_at, ETableSimpleIsCellEditableFn is_cell_editable, - ETableSimpleRowHeightFn row_height, void *data) { ETableSimple *et; @@ -127,7 +117,6 @@ e_table_simple_new (ETableSimpleColumnCountFn col_count, et->value_at = value_at; et->set_value_at = set_value_at; et->is_cell_editable = is_cell_editable; - et->row_height = row_height; return (ETableModel *) et; } -- cgit