mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-06-01 09:42:28 +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
7aaa860149
commit
9c70101aff
3 changed files with 10 additions and 2 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
* DBModeler/*.[h,m]: Fix includes for OS X.
|
* DBModeler/*.[h,m]: Fix includes for OS X.
|
||||||
* EOModeler/*.[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>
|
2008-05-03 Matt Rice <ratmice@gmail.com>
|
||||||
|
|
||||||
|
|
|
@ -175,7 +175,7 @@ static NSMatrix *_iconBar;
|
||||||
[inspector prepareForDisplay];
|
[inspector prepareForDisplay];
|
||||||
|
|
||||||
if ([lastInspector view] && lastInspector != inspector)
|
if ([lastInspector view] && lastInspector != inspector)
|
||||||
[[window contentView] removeSubview:[lastInspector view]];
|
[[lastInspector view] removeFromSuperview];
|
||||||
|
|
||||||
if ([inspector view] && lastInspector != inspector)
|
if ([inspector view] && lastInspector != inspector)
|
||||||
[[window contentView] addSubview:[inspector view]];
|
[[window contentView] addSubview:[inspector view]];
|
||||||
|
@ -209,7 +209,7 @@ static NSMatrix *_iconBar;
|
||||||
[inspector prepareForDisplay];
|
[inspector prepareForDisplay];
|
||||||
|
|
||||||
if ([lastInspector view] && lastInspector != inspector)
|
if ([lastInspector view] && lastInspector != inspector)
|
||||||
[[window contentView] removeSubview:[lastInspector view]];
|
[[lastInspector view] removeFromSuperview];
|
||||||
|
|
||||||
if ([inspector view] && lastInspector != inspector)
|
if ([inspector view] && lastInspector != inspector)
|
||||||
[[window contentView] addSubview:[inspector view]];
|
[[window contentView] addSubview:[inspector view]];
|
||||||
|
|
|
@ -190,6 +190,8 @@ NSString *EOMConsistencyModelObjectKey = @"EOMConsistencyModelObjectKey";
|
||||||
NS_HANDLER
|
NS_HANDLER
|
||||||
return nil;
|
return nil;
|
||||||
NS_ENDHANDLER
|
NS_ENDHANDLER
|
||||||
|
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (EOModel *)model;
|
- (EOModel *)model;
|
||||||
|
@ -254,6 +256,8 @@ NSString *EOMConsistencyModelObjectKey = @"EOMConsistencyModelObjectKey";
|
||||||
[localException reason]);
|
[localException reason]);
|
||||||
return NO;
|
return NO;
|
||||||
NS_ENDHANDLER
|
NS_ENDHANDLER
|
||||||
|
|
||||||
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)checkCloseDocument
|
- (BOOL)checkCloseDocument
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue