mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:50:48 +00:00
(-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:
parent
81b6a83551
commit
51d11ae159
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2008-05-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSWindow.m (-_terminateBackendWindow,
|
* Source/NSWindow.m (-_terminateBackendWindow,
|
||||||
|
|
|
@ -704,6 +704,9 @@ static NSNotificationCenter *nc = nil;
|
||||||
BOOL autoloading = NO;
|
BOOL autoloading = NO;
|
||||||
double proportions[count];
|
double proportions[count];
|
||||||
|
|
||||||
|
if (count == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
[nc postNotificationName: NSSplitViewWillResizeSubviewsNotification
|
[nc postNotificationName: NSSplitViewWillResizeSubviewsNotification
|
||||||
object: self];
|
object: self];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue