aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-08-21 00:31:39 +0800
committerChris Lahey <clahey@src.gnome.org>2001-08-21 00:31:39 +0800
commitac852ece23dc974fe69e0428b3451f9173af73c2 (patch)
tree7703fc2ce83d92d849f49deb6104befd178d1012
parentbe9aa6a39b3794c1e00389426a5f69e0eb3cb8f6 (diff)
downloadgsoc2013-evolution-ac852ece23dc974fe69e0428b3451f9173af73c2.tar.gz
gsoc2013-evolution-ac852ece23dc974fe69e0428b3451f9173af73c2.tar.zst
gsoc2013-evolution-ac852ece23dc974fe69e0428b3451f9173af73c2.zip
Changed the used parity of the return value of check here.
2001-08-20 Christopher James Lahey <clahey@ximian.com> * 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
-rw-r--r--widgets/table/e-table-without.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}