mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +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
6e4da7d0e3
commit
1b398c6621
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue