* 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:
Fred Kiefer 2012-02-01 09:00:23 +00:00
parent 6e4da7d0e3
commit 1b398c6621
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSThemeInspector.m (-update:): Don't get the frame from a
non-existing view.
2012-01-30 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): Only

View file

@ -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];