mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 05:10:57 +00:00
Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14852 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bd5048dc2b
commit
48ecaabf8b
2 changed files with 9 additions and 5 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,17 +1,21 @@
|
||||||
2002-10-25 Adam Fedor <fedor@gnu.org>
|
2002-10-26 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSOutlineView.m (-drawRow:clipRect:): Release imageCell
|
||||||
|
(patch from Stefan <urbanek@host.sk>).
|
||||||
|
|
||||||
|
2002-10-25 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Source/NSApplication.m: Remove some NSDebugLogs.
|
* Source/NSApplication.m: Remove some NSDebugLogs.
|
||||||
|
|
||||||
* Source/NSDocument.m
|
* Source/NSDocument.m
|
||||||
(-fileNameFromRunningSavePanelForSaveOperation:): Set dicectory to
|
(-fileNameFromRunningSavePanelForSaveOperation:): Set directory to
|
||||||
the currentDirectory if no fileName is set. Localize.
|
the currentDirectory if no fileName is set. Localize.
|
||||||
(-fileAttributesToWriteToFile:ofType:saveOperation:): Stib implement.
|
(-fileAttributesToWriteToFile:ofType:saveOperation:): Stub implement.
|
||||||
* Source/NSDocumentController.m: Document.
|
* Source/NSDocumentController.m: Document.
|
||||||
(+sharedDocumentController): Proper allocation/init. Set ourselves
|
(+sharedDocumentController): Proper allocation/init. Set ourselves
|
||||||
as the application delegate if there isn't one already.
|
as the application delegate if there isn't one already.
|
||||||
(-init): Retrieve list of recent documents.
|
(-init): Retrieve list of recent documents.
|
||||||
(-reviewUnsavedDocumentsWithAlertTitle:cancellable:) Save
|
(-reviewUnsavedDocumentsWithAlertTitle:cancellable:): Save
|
||||||
current directory. Localize.
|
current directory. Localize.
|
||||||
(-currentDirectory): Rewrite according to docs.
|
(-currentDirectory): Rewrite according to docs.
|
||||||
|
|
||||||
|
|
|
@ -1003,7 +1003,7 @@ static NSImage *unexpandable = nil;
|
||||||
|
|
||||||
drawingRect.origin.x += indentationFactor + [image size].width + 5;
|
drawingRect.origin.x += indentationFactor + [image size].width + 5;
|
||||||
drawingRect.size.width -= indentationFactor + [image size].width + 5;
|
drawingRect.size.width -= indentationFactor + [image size].width + 5;
|
||||||
|
RELEASE(imageCell);
|
||||||
}
|
}
|
||||||
|
|
||||||
[cell drawWithFrame: drawingRect inView: self];
|
[cell drawWithFrame: drawingRect inView: self];
|
||||||
|
|
Loading…
Reference in a new issue