mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:10:36 +00:00
* Source/GSThemeInspector.m (-update:): Don't get the frame from a
non-existing view. This was currupting the stack with gcc 4.6 on i386. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34686 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2c748a834c
commit
94e4660f98
2 changed files with 6 additions and 1 deletions
|
@ -178,7 +178,7 @@ static GSThemeInspector *sharedInspector = nil;
|
|||
[content addSubview: s];
|
||||
RELEASE(s);
|
||||
|
||||
r = [[s documentView] frame];
|
||||
r = [[s contentView] bounds];
|
||||
v = [[NSTextView alloc] initWithFrame: r];
|
||||
[v setBackgroundColor: [self backgroundColor]];
|
||||
[v setHorizontallyResizable: YES];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue