(-adjustSubviews): Just return when there are no subviews.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26496 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2008-05-08 03:58:59 +00:00
parent ea97a86d9a
commit 487fdc6524
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-05-07 Adam Fedor <fedor@gnu.org>
* Source/NSSplitView.m (-adjustSubviews): Just return if there
are no subviews.
2008-05-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (-_terminateBackendWindow,

View file

@ -704,6 +704,9 @@ static NSNotificationCenter *nc = nil;
BOOL autoloading = NO;
double proportions[count];
if (count == 0)
return;
[nc postNotificationName: NSSplitViewWillResizeSubviewsNotification
object: self];