mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:30:37 +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
|
@ -655,7 +655,7 @@ layout manager. */
|
|||
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
@protocol NSTextViewDelegate <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