mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:30:53 +00:00
* Headers/AppKit/NSAnimation.h
* Headers/AppKit/NSApplication.h * Headers/AppKit/NSControl.h * Headers/AppKit/NSPopover.h * Headers/AppKit/NSSavePanel.h * Headers/AppKit/NSTableView.h * Headers/AppKit/NSTextView.h * Headers/AppKit/NSWindow.h: Use GS_PROTOCOLS_HAVE_OPTIONAL to protect the @optional keyword in protocol definitions. Based on base patch by Marcus Mueller <znek@mulle-kybernetik.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37530 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dc50232e07
commit
4c0f9fbc97
9 changed files with 24 additions and 9 deletions
|
@ -827,7 +827,7 @@ PACKAGE_SCOPE
|
|||
#ifdef GNUSTEP
|
||||
|
||||
@protocol NSWindowDelegate <NSObject>
|
||||
#ifdef __OBJC2__
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST) && GS_PROTOCOLS_HAVE_OPTIONAL
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue