From 129f31f99eeafbfea6e4fcd1c8d3d9ae5c890a27 Mon Sep 17 00:00:00 2001 From: fredkiefer Date: Sun, 28 Mar 2010 21:28:02 +0000 Subject: [PATCH] Add return statement to avoid compiler warning. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30069 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 9 +++++++-- Headers/AppKit/NSPasteboard.h | 7 +++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18db0669d..2ba6746cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-28 Fred Kiefer + + * Source/NSPasteboard.m (-writeObjects:): Add a return statement + to avoid a compiler warning. + 2010-03-27 Wolfgang Lux * Headers/AppKit/NSResponder.h (-scrollToBeginningOfDocument:, @@ -55,13 +60,13 @@ Removed all uses of @defs() from -gui, so it now compiles cleanly with the non-fragile ABI. All ivars that must be accessed from other classes are now wrapped in PACKAGE_SCOPE. With clang, this expands to @package, with - GCC it expands to @public. + GCC it expands to @public. 2010-03-25 Riccardo Mottola * Source/GSXibLoader.m, * Source/NSView.m : removed c99-isms - + 2010-03-25 Fred Kiefer * Headers/AppKit/NSImageCell.h diff --git a/Headers/AppKit/NSPasteboard.h b/Headers/AppKit/NSPasteboard.h index cfdf231e7..f714bacac 100644 --- a/Headers/AppKit/NSPasteboard.h +++ b/Headers/AppKit/NSPasteboard.h @@ -32,9 +32,8 @@ #define _GNUstep_H_NSPasteboard #import -#include -#include -#include +#import +#import @class NSString; @class NSArray; @@ -285,7 +284,7 @@ APPKIT_EXPORT NSString *NSPasteboardCommunicationException; @end #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST) -#include +#import @interface NSURL (NSPasteboard) + (NSURL*) URLFromPasteboard: (NSPasteboard*)pasteBoard;