From bd132b80642db0fea9db5dfc7e0e8fb59272ee97 Mon Sep 17 00:00:00 2001 From: Dwight Perry <dperry@research.att.com> Date: Mon, 20 Aug 2012 12:58:17 -0400 Subject: [PATCH] renamedmethod that was being incorrectly invoked --- macosx/GVGraphDefaultAttributes.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/macosx/GVGraphDefaultAttributes.m b/macosx/GVGraphDefaultAttributes.m index 001565248..1efd210bb 100644 --- a/macosx/GVGraphDefaultAttributes.m +++ b/macosx/GVGraphDefaultAttributes.m @@ -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; @@ -128,7 +128,7 @@ - (NSEnumerator *)keyEnumerator { - return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithGraph:_graph->_graph prototype:_kind] autorelease]; + return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithGraphLoc:_graph->_graph prototype:_kind] autorelease]; } - (id)objectForKey:(id)aKey @@ -176,7 +176,7 @@ - (NSEnumerator *)keyEnumerator { - return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithPrototype:_proto] autorelease]; + return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithPrototypeLoc:_proto] autorelease]; } - (id)objectForKey:(id)aKey -- 2.40.0