mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 21:00:44 +00:00
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:
parent
e25743246b
commit
c56229c608
3 changed files with 10 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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]];
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue