From 7974ae1388e1d6b4416d68ccf4b30477b8b64a2d Mon Sep 17 00:00:00 2001 From: fredkiefer Date: Fri, 8 Mar 2013 10:45:35 +0000 Subject: [PATCH] * Headers/AppKit/NSTextView.h: Make NSTextViewDelegate a formal protocol. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36306 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Headers/AppKit/NSTextView.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index ffa77ed95..7291af919 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-03-08 Fred Kiefer + + * Headers/AppKit/NSTextView.h: Make NSTextViewDelegate a formal protocol. + 2013-03-08 Fred Kiefer * configure.ac: Correct change for libpng. diff --git a/Headers/AppKit/NSTextView.h b/Headers/AppKit/NSTextView.h index 9d7df7d86..278d9467c 100644 --- a/Headers/AppKit/NSTextView.h +++ b/Headers/AppKit/NSTextView.h @@ -654,7 +654,13 @@ for that text view has been invalidated. layout manager. */ #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST) +@protocol NSTextViewDelegate +#ifdef __OBJC2__ +@optional +#else +@end @interface NSObject (NSTextViewDelegate) +#endif -(void) textView: (NSTextView *)textView clickedOnCell: (id )cell