mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:40:37 +00:00
First batch of corrections based on David's static analysis.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
26fcda321b
commit
d08b23d9b0
15 changed files with 151 additions and 73 deletions
|
@ -118,6 +118,7 @@ static GSThemeInspector *sharedInspector = nil;
|
|||
iv = [[NSImageView alloc] initWithFrame: frame];
|
||||
[iv setImage: [[GSTheme theme] icon]];
|
||||
[content addSubview: iv];
|
||||
RELEASE(iv);
|
||||
|
||||
width = cFrame.size.width - 58;
|
||||
tf = new_label([theme name]);
|
||||
|
@ -159,6 +160,7 @@ static GSThemeInspector *sharedInspector = nil;
|
|||
frame.origin.y = nameFrame.origin.y - frame.size.height - 25;
|
||||
[view setFrame: frame];
|
||||
[content addSubview: view];
|
||||
RELEASE(view);
|
||||
}
|
||||
|
||||
details = [[theme infoDictionary] objectForKey: @"GSThemeDetails"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue