aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-simple.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-11-27 03:25:02 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-27 03:25:02 +0800
commit465c8ae9a0cac78793cac6097b6bfbabc3a342de (patch)
tree6722a7709aaeccb913d73828d075301d68885cc4 /widgets/table/e-table-simple.c
parentb92f33ed1198949e1275f8b7580fa3e367a47450 (diff)
downloadgsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.gz
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.bz2
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.lz
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.xz
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.tar.zst
gsoc2013-evolution-465c8ae9a0cac78793cac6097b6bfbabc3a342de.zip
Compute height using the ecell methods here. (eti_get_height): new method
1999-11-26 Miguel de Icaza <miguel@gnu.org> * 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 <mmeeks@gnu.org> * ROADMAP.e-table: small spelling/typo fixes. 1999-11-25 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_event): Work on mouse-button event svn path=/trunk/; revision=1439
Diffstat (limited to 'widgets/table/e-table-simple.c')
-rw-r--r--widgets/table/e-table-simple.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/widgets/table/e-table-simple.c b/widgets/table/e-table-simple.c
index b23cda1220..16691e5442 100644
--- a/widgets/table/e-table-simple.c
+++ b/widgets/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;
}