aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-09-08 07:43:27 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-09-08 07:43:27 +0800
commite9ca2eea34404118cf483fa88b80a61407b2f17a (patch)
tree3bdb35789caea4ca1136a2ae84a63ae270c1b27c /widgets
parentc0fa4148f3de389db473ca20f9e8ec850304234d (diff)
downloadgsoc2013-evolution-e9ca2eea34404118cf483fa88b80a61407b2f17a.tar
gsoc2013-evolution-e9ca2eea34404118cf483fa88b80a61407b2f17a.tar.gz
gsoc2013-evolution-e9ca2eea34404118cf483fa88b80a61407b2f17a.tar.bz2
gsoc2013-evolution-e9ca2eea34404118cf483fa88b80a61407b2f17a.tar.lz
gsoc2013-evolution-e9ca2eea34404118cf483fa88b80a61407b2f17a.tar.xz
gsoc2013-evolution-e9ca2eea34404118cf483fa88b80a61407b2f17a.tar.zst
gsoc2013-evolution-e9ca2eea34404118cf483fa88b80a61407b2f17a.zip
Fixed a silly little obvious bug.
2001-09-07 Jon Trowbridge <trow@ximian.com> * e-table-without.c (e_table_without_show_all): Fixed a silly little obvious bug. svn path=/trunk/; revision=12695
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-without.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-without.c b/widgets/table/e-table-without.c
index e14b8aca8b..49309802e9 100644
--- a/widgets/table/e-table-without.c
+++ b/widgets/table/e-table-without.c
@@ -348,14 +348,14 @@ e_table_without_show_all (ETableWithout *etw)
}
etw->priv->hash = g_hash_table_new (etw->priv->hash_func, etw->priv->compare_func);
- g_free (etss->map_table);
row_count = e_table_model_row_count (E_TABLE_MODEL(etw));
+ g_free (etss->map_table);
etss->map_table = g_new (int, row_count);
for (i = 0; i < row_count; i++) {
- etss->map_table[i++] = i;
+ etss->map_table[i] = i;
}
- etss->n_map = i;
+ etss->n_map = row_count;
e_table_model_changed (E_TABLE_MODEL (etw));
}