mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Fix error returning named images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28566 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
084c8a8663
commit
fd1e6db81d
2 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
* Source/GSTheme.m: Fixes to properly restore previous common images
|
||||
when a theme is deactivated.
|
||||
* Source/NSImage.m: Fix imageNamed to always return proxy.
|
||||
|
||||
2009-08-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
AUTORELEASE(image);
|
||||
image->_flags.archiveByName = YES;
|
||||
}
|
||||
return image;
|
||||
image = (NSImage*)[nameDict objectForKey: aName];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue