diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-item.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 75c71f99d1..a8d7790ecf 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,8 @@ +2000-07-08 Ettore Perazzoli <ettore@helixcode.com> + + * e-table-item.c (eti_table_model_changed): Removed an unused + variable. + 2000-07-08 Dan Winship <danw@helixcode.com> * e-tree-model.c (e_tree_model_node_insert): When inserting a root diff --git a/widgets/e-table/e-table-item.c b/widgets/e-table/e-table-item.c index 8e0c07436c..4636bc8a56 100644 --- a/widgets/e-table/e-table-item.c +++ b/widgets/e-table/e-table-item.c @@ -527,7 +527,10 @@ eti_item_region_redraw (ETableItem *eti, int x0, int y0, int x1, int y1) static void eti_table_model_changed (ETableModel *table_model, ETableItem *eti) { +#if 0 int view_row; +#endif + eti->rows = e_table_model_row_count (eti->table_model); free_height_cache(eti); @@ -536,6 +539,7 @@ eti_table_model_changed (ETableModel *table_model, ETableItem *eti) e_canvas_item_request_reflow (GNOME_CANVAS_ITEM (eti)); eti->needs_redraw = 1; gnome_canvas_item_request_update (GNOME_CANVAS_ITEM (eti)); + #if 0 view_row = model_to_view_row(eti, eti->cursor_row); if (view_row >= 0 && eti->cursor_col >= 0) diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 8e0c07436c..4636bc8a56 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -527,7 +527,10 @@ eti_item_region_redraw (ETableItem *eti, int x0, int y0, int x1, int y1) static void eti_table_model_changed (ETableModel *table_model, ETableItem *eti) { +#if 0 int view_row; +#endif + eti->rows = e_table_model_row_count (eti->table_model); free_height_cache(eti); @@ -536,6 +539,7 @@ eti_table_model_changed (ETableModel *table_model, ETableItem *eti) e_canvas_item_request_reflow (GNOME_CANVAS_ITEM (eti)); eti->needs_redraw = 1; gnome_canvas_item_request_update (GNOME_CANVAS_ITEM (eti)); + #if 0 view_row = model_to_view_row(eti, eti->cursor_row); if (view_row >= 0 && eti->cursor_col >= 0) |