From: Dwight Perry Date: Mon, 20 Aug 2012 16:58:17 +0000 (-0400) Subject: renamedmethod that was being incorrectly invoked X-Git-Tag: LAST_LIBGRAPH~32^2~331^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd132b80642db0fea9db5dfc7e0e8fb59272ee97;p=graphviz renamedmethod that was being incorrectly invoked --- 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