summaryrefslogtreecommitdiff
path: root/tikzit/src/common/Graph.m
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2012-08-24 13:57:34 +0100
committerAlex Merry <dev@randomguy3.me.uk>2012-08-24 13:57:34 +0100
commit64da6e88dcae44cbec8187e0761299502eb7cfb0 (patch)
tree67b1fec0029650fc597d613373193f677380a0fd /tikzit/src/common/Graph.m
parentf82e146a47db9c8bd639f5f32f3e123694d05a4e (diff)
Match Cocoa's method naming conventions
We were naming properties starting with new, which is Cocoa's convention for methods that return fresh objects. Spotted due to a Clang warning.
Diffstat (limited to 'tikzit/src/common/Graph.m')
-rw-r--r--tikzit/src/common/Graph.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/common/Graph.m b/tikzit/src/common/Graph.m
index 48d6563..7f7345c 100644
--- a/tikzit/src/common/Graph.m
+++ b/tikzit/src/common/Graph.m
@@ -655,10 +655,10 @@
[data setArray:[ch nwGraphData]];
break;
case NodeOrderChange:
- [nodes setArray:[ch newNodeOrder]];
+ [nodes setArray:[ch nwNodeOrder]];
break;
case EdgeOrderChange:
- [edges setArray:[ch newEdgeOrder]];
+ [edges setArray:[ch nwEdgeOrder]];
break;
}