diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-09-08 17:45:27 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-09-08 17:45:27 +0000 |
commit | 59928442a95563ea2246fdebb7c85316e8428729 (patch) | |
tree | b2db2d79761f1c0b33485cfe022b814c8076fc60 /AppKit/GTMUILocalizer.m | |
parent | 29229aa01d4ef56f614636a7bf0a73403304d994 (diff) |
[Author: dmaclach]
Get rid of ObjC 2ism for compiling on Tiger.
R=thomasvl,alcor
DELTA=2 (1 added, 0 deleted, 1 changed)
Diffstat (limited to 'AppKit/GTMUILocalizer.m')
-rw-r--r-- | AppKit/GTMUILocalizer.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/AppKit/GTMUILocalizer.m b/AppKit/GTMUILocalizer.m index 4143825..efdfb92 100644 --- a/AppKit/GTMUILocalizer.m +++ b/AppKit/GTMUILocalizer.m @@ -119,7 +119,8 @@ } - (void)localizeToolbar:(NSToolbar *)toolbar { - for (NSToolbarItem *item in [toolbar items]) { + NSToolbarItem *item; + GTM_FOREACH_OBJECT(item, [toolbar items]) { NSString *label = [item label]; if (label) { label = [self localizedStringForString:label]; |