]> granicus.if.org Git - graphviz/commitdiff
renamedmethod that was being incorrectly invoked
authorDwight Perry <dperry@research.att.com>
Mon, 20 Aug 2012 16:58:17 +0000 (12:58 -0400)
committerDwight Perry <dperry@research.att.com>
Mon, 20 Aug 2012 16:58:17 +0000 (12:58 -0400)
macosx/GVGraphDefaultAttributes.m

index 00156524831424d2ce87fbdd31d3de0b1b998452..1efd210bb886d84e6242dfa2ab2706488284dd64 100644 (file)
@@ -26,9 +26,9 @@
 }
 
 #ifdef WITH_CGRAPH
-- (id)initWithGraph:(graph_t *)graph prototype:(int)kind;
+- (id)initWithGraphLoc:(graph_t *)graph prototype:(int)kind;
 #else
-- (id)initWithPrototype:(void *)proto;
+- (id)initWithPrototypeLoc:(void *)proto;
 #endif
 - (NSArray *)allObjects;
 - (id)nextObject;
@@ -38,7 +38,7 @@
 @implementation GVGraphDefaultAttributeKeyEnumerator
 
 #ifdef WITH_CGRAPH
-- (id)initWithGraph:(graph_t *)graph prototype:(int)kind;
+- (id)initWithGraphLoc:(graph_t *)graph prototype:(int)kind;
 {
        if (self = [super init]) {
                _kind = kind;
@@ -70,7 +70,7 @@
        return nil;
 }
 #else
-- (id)initWithPrototype:(void *)proto
+- (id)initWithPrototypeLoc:(void *)proto
 {
        if (self = [super init]) {
                _proto = proto;
 
 - (NSEnumerator *)keyEnumerator
 {
-       return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithGraph:_graph->_graph prototype:_kind] autorelease];
+       return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithGraphLoc:_graph->_graph prototype:_kind] autorelease];
 }
 
 - (id)objectForKey:(id)aKey
 
 - (NSEnumerator *)keyEnumerator
 {
-       return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithPrototype:_proto] autorelease];
+       return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithPrototypeLoc:_proto] autorelease];
 }
 
 - (id)objectForKey:(id)aKey