diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 01:36:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 02:26:37 +0800 |
commit | 49ef32b76c55cbefba53568f02028dddf23a9bc9 (patch) | |
tree | 682e825cab580d4c401f0a138ee29a8534336591 /widgets/table/e-table-memory.c | |
parent | 2ef43b4cf40d21c61d39c5a938e428afa9074e2b (diff) | |
download | gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.gz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.zst gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/table/e-table-memory.c')
-rw-r--r-- | widgets/table/e-table-memory.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/widgets/table/e-table-memory.c b/widgets/table/e-table-memory.c index 8eb6a3e30c..e79448ee20 100644 --- a/widgets/table/e-table-memory.c +++ b/widgets/table/e-table-memory.c @@ -170,7 +170,10 @@ e_table_memory_insert (ETableMemory *etmm, if (row == -1) row = etmm->priv->num_rows; etmm->priv->data = g_renew(gpointer, etmm->priv->data, etmm->priv->num_rows + 1); - memmove(etmm->priv->data + row + 1, etmm->priv->data + row, (etmm->priv->num_rows - row) * sizeof (gpointer)); + memmove ( + etmm->priv->data + row + 1, + etmm->priv->data + row, + (etmm->priv->num_rows - row) * sizeof (gpointer)); etmm->priv->data[row] = data; etmm->priv->num_rows ++; if (!etmm->priv->frozen) @@ -199,7 +202,10 @@ e_table_memory_remove (ETableMemory *etmm, gint row) if (!etmm->priv->frozen) e_table_model_pre_change(E_TABLE_MODEL(etmm)); ret = etmm->priv->data[row]; - memmove(etmm->priv->data + row, etmm->priv->data + row + 1, (etmm->priv->num_rows - row - 1) * sizeof (gpointer)); + memmove ( + etmm->priv->data + row, + etmm->priv->data + row + 1, + (etmm->priv->num_rows - row - 1) * sizeof (gpointer)); etmm->priv->num_rows --; if (!etmm->priv->frozen) e_table_model_row_deleted(E_TABLE_MODEL(etmm), row); |