summaryrefslogtreecommitdiff
path: root/tikzit/src/common/GraphChange.h
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/GraphChange.h
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/GraphChange.h')
-rw-r--r--tikzit/src/common/GraphChange.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tikzit/src/common/GraphChange.h b/tikzit/src/common/GraphChange.h
index ef56005..0e71a90 100644
--- a/tikzit/src/common/GraphChange.h
+++ b/tikzit/src/common/GraphChange.h
@@ -70,8 +70,8 @@ typedef enum {
NSRect oldBoundingBox, nwBoundingBox;
GraphElementData *oldGraphData, *nwGraphData;
- NSArray *oldNodeOrder, *newNodeOrder;
- NSArray *oldEdgeOrder, *newEdgeOrder;
+ NSArray *oldNodeOrder, *nwNodeOrder;
+ NSArray *oldEdgeOrder, *nwEdgeOrder;
}
/*!
@@ -195,10 +195,10 @@ typedef enum {
@property (copy) NSArray *oldNodeOrder;
/*!
- @property newNodeOrder
+ @property nwNodeOrder
@brief The new node list.
*/
-@property (copy) NSArray *newNodeOrder;
+@property (copy) NSArray *nwNodeOrder;
/*!
@property oldEdgeOrder
@@ -207,10 +207,10 @@ typedef enum {
@property (copy) NSArray *oldEdgeOrder;
/*!
- @property newEdgeOrder
+ @property nwEdgeOrder
@brief The new edge list.
*/
-@property (copy) NSArray *newEdgeOrder;
+@property (copy) NSArray *nwEdgeOrder;
/*!
@brief Invert a GraphChange.