* 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:
Fred Kiefer 2013-12-31 18:30:46 +00:00
parent dc50232e07
commit 4c0f9fbc97
9 changed files with 24 additions and 9 deletions

View file

@ -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