yet another depracated method reaped

This commit is contained in:
Mitchell Livingston 2009-08-29 15:57:19 +00:00
parent 51711d018f
commit bafff356a6
3 changed files with 1 additions and 5 deletions

View File

@ -49,8 +49,7 @@
else
icon = [[NSWorkspace sharedWorkspace] iconForFile: [value stringByExpandingTildeInPath]];
[icon setScalesWhenResized: YES];
[icon setSize: NSMakeSize(16.0f, 16.0f)];
[icon setSize: NSMakeSize(16.0, 16.0)];
return icon;
}

View File

@ -319,7 +319,6 @@ GroupsController * fGroupsInstance = nil;
if (small)
{
icon = [icon copy];
[icon setScalesWhenResized: YES];
[icon setSize: NSMakeSize(ICON_WIDTH_SMALL, ICON_WIDTH_SMALL)];
[item setImage: icon];
@ -342,7 +341,6 @@ GroupsController * fGroupsInstance = nil;
if (small)
{
icon = [icon copy];
[icon setScalesWhenResized: YES];
[icon setSize: NSMakeSize(ICON_WIDTH_SMALL, ICON_WIDTH_SMALL)];
[item setImage: icon];

View File

@ -932,7 +932,6 @@
[item setRepresentedObject: node];
[icon setScalesWhenResized: YES];
[icon setSize: NSMakeSize(16.0, 16.0)];
[item setImage: icon];