Author: fredkiefer
Date: Sun Nov 16 15:19:11 2014
New Revision: 38174

URL: http://svn.gna.org/viewcvs/gnustep?rev=38174&view=rev
Log:
* Headers/AppKit/NSBrowser.h,
* Headers/AppKit/NSComboBoxCell.h: Add missing protocol
  declarations.


Modified:
    libs/gui/trunk/ChangeLog
    libs/gui/trunk/Headers/AppKit/NSBrowser.h
    libs/gui/trunk/Headers/AppKit/NSComboBoxCell.h

Modified: libs/gui/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/ChangeLog?rev=38174&r1=38173&r2=38174&view=diff
==============================================================================
--- libs/gui/trunk/ChangeLog    (original)
+++ libs/gui/trunk/ChangeLog    Sun Nov 16 15:19:11 2014
@@ -1,3 +1,8 @@
+2014-11-16  Fred Kiefer <fredkie...@gmx.de>
+
+       * Headers/AppKit/NSBrowser.h,
+       * Headers/AppKit/NSComboBoxCell.h: Add missing protocol declarations.
+
 2014-11-04  Fred Kiefer <fredkie...@gmx.de>
 
        * Source/NSParagraphStyle.m (+defaultParagraphStyle): Comment out

Modified: libs/gui/trunk/Headers/AppKit/NSBrowser.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Headers/AppKit/NSBrowser.h?rev=38174&r1=38173&r2=38174&view=diff
==============================================================================
--- libs/gui/trunk/Headers/AppKit/NSBrowser.h   (original)
+++ libs/gui/trunk/Headers/AppKit/NSBrowser.h   Sun Nov 16 15:19:11 2014
@@ -315,7 +315,13 @@
 //
 // Methods Implemented by the Delegate 
 //
+@protocol NSBrowserDelegate <NSObject>
+#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST) && 
GS_PROTOCOLS_HAVE_OPTIONAL
+@optional
+#else
+@end
 @interface NSObject (NSBrowserDelegate)
+#endif
 
 - (void) browser: (NSBrowser *)sender createRowsForColumn: (NSInteger)column
   inMatrix: (NSMatrix *)matrix;

Modified: libs/gui/trunk/Headers/AppKit/NSComboBoxCell.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Headers/AppKit/NSComboBoxCell.h?rev=38174&r1=38173&r2=38174&view=diff
==============================================================================
--- libs/gui/trunk/Headers/AppKit/NSComboBoxCell.h      (original)
+++ libs/gui/trunk/Headers/AppKit/NSComboBoxCell.h      Sun Nov 16 15:19:11 2014
@@ -117,7 +117,13 @@
 #endif
 @end
 
+@protocol NSComboBoxCellDataSource <NSObject>
+#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST) && 
GS_PROTOCOLS_HAVE_OPTIONAL
+@optional
+#else
+@end
 @interface NSObject (NSComboBoxCellDataSource)
+#endif
 - (NSInteger)numberOfItemsInComboBoxCell:(NSComboBoxCell *)comboBoxCell;
 - (id)comboBoxCell:(NSComboBoxCell *)aComboBoxCell 
   objectValueForItemAtIndex:(NSInteger)index;


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to