diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:05:05 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:05:38 +0800 |
commit | dcf2c0e754d6e251733cea74c2427738122620af (patch) | |
tree | 358d2c639c2a5b5cf5fc8f28c515076f8b4d4e5d /widgets/table/e-table-subset-variable.c | |
parent | 76fc1247ba88575c0f6e0040672e19e66f53da4f (diff) | |
download | gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.gz gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.tar.zst gsoc2013-evolution-dcf2c0e754d6e251733cea74c2427738122620af.zip |
More whitespace cleanup.
Diffstat (limited to 'widgets/table/e-table-subset-variable.c')
-rw-r--r-- | widgets/table/e-table-subset-variable.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/table/e-table-subset-variable.c b/widgets/table/e-table-subset-variable.c index de1d7ccacf..b63ecd01ec 100644 --- a/widgets/table/e-table-subset-variable.c +++ b/widgets/table/e-table-subset-variable.c @@ -46,7 +46,7 @@ etssv_add (ETableSubsetVariable *etssv, e_table_model_pre_change(etm); - if (etss->n_map + 1 > etssv->n_vals_allocated){ + if (etss->n_map + 1 > etssv->n_vals_allocated) { etssv->n_vals_allocated += INCREMENT_AMOUNT; etss->map_table = g_realloc (etss->map_table, etssv->n_vals_allocated * sizeof(gint)); } @@ -67,7 +67,7 @@ etssv_add_array (ETableSubsetVariable *etssv, e_table_model_pre_change(etm); - if (etss->n_map + count > etssv->n_vals_allocated){ + if (etss->n_map + count > etssv->n_vals_allocated) { etssv->n_vals_allocated += MAX(INCREMENT_AMOUNT, count); etss->map_table = g_realloc (etss->map_table, etssv->n_vals_allocated * sizeof(gint)); } @@ -88,7 +88,7 @@ etssv_add_all (ETableSubsetVariable *etssv) e_table_model_pre_change(etm); rows = e_table_model_row_count(etss->source); - if (etss->n_map + rows > etssv->n_vals_allocated){ + if (etss->n_map + rows > etssv->n_vals_allocated) { etssv->n_vals_allocated += MAX(INCREMENT_AMOUNT, rows); etss->map_table = g_realloc (etss->map_table, etssv->n_vals_allocated * sizeof(gint)); } @@ -106,7 +106,7 @@ etssv_remove (ETableSubsetVariable *etssv, ETableSubset *etss = E_TABLE_SUBSET(etssv); gint i; - for (i = 0; i < etss->n_map; i++){ + for (i = 0; i < etss->n_map; i++) { if (etss->map_table[i] == row) { e_table_model_pre_change (etm); memmove (etss->map_table + i, etss->map_table + i + 1, (etss->n_map - i - 1) * sizeof(gint)); @@ -150,7 +150,7 @@ e_table_subset_variable_new (ETableModel *source) { ETableSubsetVariable *etssv = g_object_new (E_TABLE_SUBSET_VARIABLE_TYPE, NULL); - if (e_table_subset_variable_construct (etssv, source) == NULL){ + if (e_table_subset_variable_construct (etssv, source) == NULL) { g_object_unref (etssv); return NULL; } @@ -252,7 +252,7 @@ e_table_subset_variable_set_allocation (ETableSubsetVariable *etssv, ETableSubset *etss = E_TABLE_SUBSET(etssv); if (total <= 0) total = 1; - if (total > etss->n_map){ + if (total > etss->n_map) { etss->map_table = g_realloc (etss->map_table, total * sizeof(gint)); } } |