aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-09 10:41:32 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-09 10:41:32 +0800
commit7f64833332cfb7c5d5b67996132972af30c0c6a0 (patch)
tree971dad8ff7e1dd06ab0fc899ef8f347af6fe82a7
parentcef0acf7260018000b4e5c14b160e1493b89da85 (diff)
downloadgsoc2013-evolution-7f64833332cfb7c5d5b67996132972af30c0c6a0.tar
gsoc2013-evolution-7f64833332cfb7c5d5b67996132972af30c0c6a0.tar.gz
gsoc2013-evolution-7f64833332cfb7c5d5b67996132972af30c0c6a0.tar.bz2
gsoc2013-evolution-7f64833332cfb7c5d5b67996132972af30c0c6a0.tar.lz
gsoc2013-evolution-7f64833332cfb7c5d5b67996132972af30c0c6a0.tar.xz
gsoc2013-evolution-7f64833332cfb7c5d5b67996132972af30c0c6a0.tar.zst
gsoc2013-evolution-7f64833332cfb7c5d5b67996132972af30c0c6a0.zip
Get rid of an unused variable.
svn path=/trunk/; revision=3997
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-table-item.c4
-rw-r--r--widgets/table/e-table-item.c4
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)