aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-subset.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:05:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:05:38 +0800
commitdcf2c0e754d6e251733cea74c2427738122620af (patch)
tree358d2c639c2a5b5cf5fc8f28c515076f8b4d4e5d /widgets/table/e-table-subset.c
parent76fc1247ba88575c0f6e0040672e19e66f53da4f (diff)
downloadgsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.gz
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.bz2
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.lz
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.xz
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.zst
gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.zip
More whitespace cleanup.
Diffstat (limited to 'widgets/table/e-table-subset.c')
-rw-r--r--widgets/table/e-table-subset.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-subset.c b/widgets/table/e-table-subset.c
index a860aba24f..6253c74327 100644
--- a/widgets/table/e-table-subset.c
+++ b/widgets/table/e-table-subset.c
@@ -61,7 +61,7 @@ etss_get_view_row (ETableSubset *etss, gint row)
gint initial = MAX (MIN (etss->last_access, end), start);
for (i = initial; i < end; i++) {
- if (map_table [i] == row){
+ if (map_table [i] == row) {
d(g_print("a) Found %d from %d\n", i, etss->last_access));
etss->last_access = i;
return i;
@@ -69,15 +69,15 @@ etss_get_view_row (ETableSubset *etss, gint row)
}
for (i = initial - 1; i >= start; i--) {
- if (map_table [i] == row){
+ if (map_table [i] == row) {
d(g_print("b) Found %d from %d\n", i, etss->last_access));
etss->last_access = i;
return i;
}
}
- for (i = 0; i < n; i++){
- if (map_table [i] == row){
+ for (i = 0; i < n; i++) {
+ if (map_table [i] == row) {
d(g_print("c) Found %d from %d\n", i, etss->last_access));
etss->last_access = i;
return i;
@@ -431,7 +431,7 @@ e_table_subset_new (ETableModel *source, const gint nvals)
{
ETableSubset *etss = g_object_new (E_TABLE_SUBSET_TYPE, NULL);
- if (e_table_subset_construct (etss, source, nvals) == NULL){
+ if (e_table_subset_construct (etss, source, nvals) == NULL) {
g_object_unref (etss);
return NULL;
}