mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +00:00
Hot fixes: Failure to close extern 'c' section in NSPathControlItem.h corrected. Replace 'or' with 'orientation' as some compilers will reject this as a reserved word.
This commit is contained in:
parent
ac207e296d
commit
a1e470341c
3 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ extern "C" {
|
|||
- (NSArray *) tagNames;
|
||||
|
||||
- (NSPaperOrientation) orientation;
|
||||
- (void) setOrientation: (NSPaperOrientation)or;
|
||||
- (void) setOrientation: (NSPaperOrientation)orientation;
|
||||
|
||||
- (NSSize) paperSize;
|
||||
- (void) setPaperSize: (NSSize)size;
|
||||
|
|
|
@ -57,7 +57,7 @@ extern "C" {
|
|||
@end
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GS_API_MACOSX */
|
||||
|
|
|
@ -76,9 +76,9 @@
|
|||
return _orientation;
|
||||
}
|
||||
|
||||
- (void) setOrientation: (NSPaperOrientation)or
|
||||
- (void) setOrientation: (NSPaperOrientation)orientation
|
||||
{
|
||||
_orientation = or;
|
||||
_orientation = orientation;
|
||||
}
|
||||
|
||||
- (NSSize) paperSize;
|
||||
|
|
Loading…
Reference in a new issue