From 78bf74dc1d9b9f938c38c97c3f526979cc9b47ee Mon Sep 17 00:00:00 2001 From: Sebastian Reitenbach Date: Mon, 25 Feb 2013 17:24:33 +0000 Subject: [PATCH] * unsigned int -> NSDragOperation git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@36197 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Framework/PCFileNameIcon.m | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 74ddd5d..7baf08c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-02-25: Sebastian Reitenbach + * Framework/PCFileNameIcon.m + * unsigned int -> NSDragOperation + 2013-02-10: Sebastian Reitenbach * Framework/PCProjectInspector.m * Modules/Editors/ProjectCenter/SyntaxDefinition.m diff --git a/Framework/PCFileNameIcon.m b/Framework/PCFileNameIcon.m index 98e2387..2052130 100644 --- a/Framework/PCFileNameIcon.m +++ b/Framework/PCFileNameIcon.m @@ -126,11 +126,11 @@ // --- NSDraggingDestination protocol methods // -- Before the image is released -- (unsigned int)draggingEntered:(id )sender +- (NSDragOperation)draggingEntered:(id )sender { NSPasteboard *pb = [sender draggingPasteboard]; NSArray *paths = [pb propertyListForType:NSFilenamesPboardType]; - unsigned int draggingOp = NSDragOperationNone; + NSDragOperation draggingOp = NSDragOperationNone; // NSLog(@"Dragging entered: %@", paths); @@ -206,7 +206,7 @@ // --- NSDraggingSource protocol methods -- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)isLocal +- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal { return NSDragOperationCopy; }