mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 17:26:29 +00:00
Fix BOOL accessors to return a genuine boolean (YES or NO)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
98bc434e88
commit
34d79dd427
8 changed files with 163 additions and 156 deletions
|
@ -207,7 +207,7 @@
|
|||
|
||||
- (BOOL) shouldCloseDocument
|
||||
{
|
||||
return _wcFlags.shouldCloseDocument;
|
||||
return (_wcFlags.shouldCloseDocument ? YES : NO);
|
||||
}
|
||||
|
||||
- (void) setShouldCascadeWindows: (BOOL)flag
|
||||
|
@ -217,7 +217,7 @@
|
|||
|
||||
- (BOOL) shouldCascadeWindows
|
||||
{
|
||||
return _wcFlags.shouldCascade;
|
||||
return (_wcFlags.shouldCascade ? YES : NO);
|
||||
}
|
||||
|
||||
- (void) close
|
||||
|
@ -375,7 +375,7 @@
|
|||
|
||||
- (BOOL) isWindowLoaded
|
||||
{
|
||||
return _wcFlags.nibIsLoaded;
|
||||
return (_wcFlags.nibIsLoaded ? YES : NO);
|
||||
}
|
||||
|
||||
- (void) windowDidLoad
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue