From 7f64833332cfb7c5d5b67996132972af30c0c6a0 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 9 Jul 2000 02:41:32 +0000 Subject: Get rid of an unused variable. svn path=/trunk/; revision=3997 --- widgets/e-table/ChangeLog | 5 +++++ widgets/e-table/e-table-item.c | 4 ++++ widgets/table/e-table-item.c | 4 ++++ 3 files changed, 13 insertions(+) (limited to 'widgets') 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 + + * e-table-item.c (eti_table_model_changed): Removed an unused + variable. + 2000-07-08 Dan Winship * 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) -- cgit