Modeler/EOModelerDocument.m: Add return statements to suppress

warnings.
* EOModeler/EOMInspectorController.m: Use -removeFromSuperview instead
of -removeSubview.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26510 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2008-05-09 22:50:00 +00:00
parent e25743246b
commit c56229c608
3 changed files with 10 additions and 2 deletions

View file

@ -2,6 +2,10 @@
* DBModeler/*.[h,m]: Fix includes for OS X.
* EOModeler/*.[h,m]: Fix includes for OS X.
* EOModeler/EOModelerDocument.m: Add return statements to suppress
warnings.
* EOModeler/EOMInspectorController.m: Use -removeFromSuperview instead
of -removeSubview.
2008-05-03 Matt Rice <ratmice@gmail.com>

View file

@ -175,7 +175,7 @@ static NSMatrix *_iconBar;
[inspector prepareForDisplay];
if ([lastInspector view] && lastInspector != inspector)
[[window contentView] removeSubview:[lastInspector view]];
[[lastInspector view] removeFromSuperview];
if ([inspector view] && lastInspector != inspector)
[[window contentView] addSubview:[inspector view]];
@ -209,7 +209,7 @@ static NSMatrix *_iconBar;
[inspector prepareForDisplay];
if ([lastInspector view] && lastInspector != inspector)
[[window contentView] removeSubview:[lastInspector view]];
[[lastInspector view] removeFromSuperview];
if ([inspector view] && lastInspector != inspector)
[[window contentView] addSubview:[inspector view]];

View file

@ -190,6 +190,8 @@ NSString *EOMConsistencyModelObjectKey = @"EOMConsistencyModelObjectKey";
NS_HANDLER
return nil;
NS_ENDHANDLER
return nil;
}
- (EOModel *)model;
@ -254,6 +256,8 @@ NSString *EOMConsistencyModelObjectKey = @"EOMConsistencyModelObjectKey";
[localException reason]);
return NO;
NS_ENDHANDLER
return NO;
}
- (BOOL)checkCloseDocument