diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-11 23:31:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-12 10:25:06 +0800 |
commit | eb29179da623f9cf4abd663577395a085452ca18 (patch) | |
tree | a7eec4690f254d4cb9048ca87a5e7f401a2e74ae /widgets/table/e-tree-memory.c | |
parent | beb8e74577f695d0d3c2efea52dc10c2136f0135 (diff) | |
download | gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.gz gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.bz2 gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.lz gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.xz gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.zst gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/table/e-tree-memory.c')
-rw-r--r-- | widgets/table/e-tree-memory.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/table/e-tree-memory.c b/widgets/table/e-tree-memory.c index b40dda8e3e..13103fc47a 100644 --- a/widgets/table/e-tree-memory.c +++ b/widgets/table/e-tree-memory.c @@ -96,7 +96,7 @@ e_tree_memory_path_depth (ETreeMemoryPath *path) g_return_val_if_fail(path != NULL, -1); for ( path = path->parent; path; path = path->parent) - depth ++; + depth++; return depth; } @@ -133,7 +133,7 @@ e_tree_memory_path_insert (ETreeMemoryPath *parent, parent->first_child = child; break; } - position --; + position--; } } @@ -152,7 +152,7 @@ e_tree_path_unlink (ETreeMemoryPath *path) if (path == parent->last_child) parent->last_child = path->prev_sibling; - parent->num_children --; + parent->num_children--; } /* unlink prev/next sibling links */ @@ -185,7 +185,7 @@ e_tree_memory_freeze(ETreeMemory *etmm) if (priv->frozen == 0) e_tree_model_pre_change(E_TREE_MODEL(etmm)); - priv->frozen ++; + priv->frozen++; } /** @@ -203,7 +203,7 @@ e_tree_memory_thaw(ETreeMemory *etmm) ETreeMemoryPriv *priv = etmm->priv; if (priv->frozen > 0) - priv->frozen --; + priv->frozen--; if (priv->frozen == 0) { e_tree_model_node_changed(E_TREE_MODEL(etmm), priv->root); } @@ -566,7 +566,7 @@ e_tree_memory_node_insert_before (ETreeMemory *etree, for (child = parent_path->first_child; child; child = child->next_sibling) { if (child == sibling_path) break; - position ++; + position++; } } else position = parent_path->num_children; @@ -619,7 +619,7 @@ e_tree_memory_node_remove (ETreeMemory *etree, ETreePath node) sibling; old_position++, sibling = sibling->prev_sibling) /* Empty intentionally*/; - old_position --; + old_position--; } /* unlink this node - we only have to unlink the root node being removed, |