mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Make some changes to XPaths to make things a little more efficient.
This commit is contained in:
parent
647dd1095b
commit
2cd0585079
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ static NSStoryboard *__mainStoryboard = nil;
|
|||
NSMapTable *mapTable = [NSMapTable strongToWeakObjectsMapTable];
|
||||
NSArray *connectionsArray = [xmlIn nodesForXPath: @"//connections"
|
||||
error: NULL];
|
||||
NSArray *array = [xmlIn nodesForXPath: @"//objects"
|
||||
NSArray *array = [xmlIn nodesForXPath: @"//objects[1]"
|
||||
error: NULL];
|
||||
NSXMLElement *objects = [array objectAtIndex: 0]; // get the "objects" section
|
||||
NSArray *controllers = [objects nodesForXPath: @"windowController"
|
||||
|
|
Loading…
Reference in a new issue