From ac852ece23dc974fe69e0428b3451f9173af73c2 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 20 Aug 2001 16:31:39 +0000 Subject: Changed the used parity of the return value of check here. 2001-08-20 Christopher James Lahey * e-table-without.c (etw_proxy_model_rows_inserted, etw_proxy_model_changed): Changed the used parity of the return value of check here. svn path=/trunk/; revision=12313 --- widgets/table/e-table-without.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/table/e-table-without.c b/widgets/table/e-table-without.c index 06d3f86098..366b6c9f35 100644 --- a/widgets/table/e-table-without.c +++ b/widgets/table/e-table-without.c @@ -133,7 +133,7 @@ etw_proxy_model_rows_inserted (ETableSubset *etss, ETableModel *etm, int model_r /* i is Model row */ for (i = model_row; i < model_row + count; i++) { - if (check (etw, i)) { + if (!check (etw, i)) { add_row (etw, i); } } @@ -167,7 +167,7 @@ etw_proxy_model_changed (ETableSubset *etss, ETableModel *etm) etss->map_table = g_new (int, row_count); for (i = 0, j = 0; i < row_count; i++) { - if (check (etw, i)) { + if (!check (etw, i)) { etss->map_table[j++] = i; } } -- cgit