Don't invalidate valid cached representations. The new cache would have

exactly the same contents.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27295 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2008-12-15 17:14:30 +00:00
parent 606df8c1b1
commit a492085ebe
2 changed files with 335 additions and 348 deletions

View file

@ -1,3 +1,13 @@
2008-12-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m: White space changes and general clean up.
* Source/NSImage.m (-removeRepresentation:): Remove also cached
representations for the current one.
* Source/NSImage.m (-_cacheForRep:): Don't invalidate a valid
cached representation.
* Source/NSImage.m: Move some code from _doImageCache: to
lockFocusOnRepresentation:
2008-12-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSDocument.m (-addWindowController:,-removeWindowController:):

File diff suppressed because it is too large Load diff