source: trunk/dports/gnustep/gnustep-gui/files/patch-GSToolbar.diff @ 33737

Last change on this file since 33737 was 33737, checked in by ryandesign@…, 13 years ago

gnustep-gui: consolidate two patchfiles for one issue into a single patchfile and fix name of patchfile to match recommendations

File size: 729 bytes
  • Headers/Additions/GNUstepGUI/GSToolbar.h

    old new  
    145145
    146146@interface NSArray (ObjectsWithValueForKey)
    147147- (NSArray *) objectsWithValue: (id)value forKey: (NSString *)key;
     148- (id) objectWithValue: (id)value forKey: (NSString *)key;
    148149@end
    149150
    150151#endif /* _GNUstep_H_NSToolbar */
  • Source/GSToolbar.m

    old new  
    8888 
    8989  return result;
    9090}
     91
     92- (id) objectWithValue: (id)value forKey: (NSString *)key
     93{
     94    return [[self objectsWithValue: value forKey: key] objectAtIndex: 0];
     95}
     96
    9197@end
    9298
    9399/*
Note: See TracBrowser for help on using the repository browser.