Author: rmottola
Date: Mon Feb 22 11:25:39 2016
New Revision: 39404

URL: http://svn.gna.org/viewcvs/gnustep?rev=39404&view=rev
Log:
Update tag of performFileOperation from int to NSInteger as per current API

Modified:
    apps/gworkspace/trunk/ChangeLog
    apps/gworkspace/trunk/GWorkspace/Fiend/FiendLeaf.m
    apps/gworkspace/trunk/GWorkspace/GWorkspace.m
    apps/gworkspace/trunk/GWorkspace/WorkspaceApplication.m
    apps/gworkspace/trunk/Recycler/Recycler.m

Modified: apps/gworkspace/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/ChangeLog?rev=39404&r1=39403&r2=39404&view=diff
==============================================================================
--- apps/gworkspace/trunk/ChangeLog     (original)
+++ apps/gworkspace/trunk/ChangeLog     Mon Feb 22 11:25:39 2016
@@ -1,3 +1,11 @@
+2016-02-22  Riccardo Mottola <[email protected]>
+
+       * GWorkspace/Fiend/FiendLeaf.m
+       * GWorkspace/GWorkspace.m
+       * GWorkspace/WorkspaceApplication.m
+       * Recycler/Recycler.m
+       Update tag of performFileOperation from int to NSInteger as per current 
API.
+
 2016-02-17  Riccardo Mottola <[email protected]>
 
        * GWorkspace/FileViewer/GWViewersManager.m

Modified: apps/gworkspace/trunk/GWorkspace/Fiend/FiendLeaf.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/Fiend/FiendLeaf.m?rev=39404&r1=39403&r2=39404&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/Fiend/FiendLeaf.m  (original)
+++ apps/gworkspace/trunk/GWorkspace/Fiend/FiendLeaf.m  Mon Feb 22 11:25:39 2016
@@ -1,6 +1,6 @@
 /* FiendLeaf.m
  *  
- * Copyright (C) 2003-2010 Free Software Foundation, Inc.
+ * Copyright (C) 2003-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: August 2001
@@ -96,7 +96,7 @@
 {
   NSWindow *win;
   
-       self = [super init];
+  self = [super init];
 
   win = [[NSWindow alloc] initWithContentRect: NSMakeRect(0, 0, 64, 64)
                                                          styleMask: 
NSBorderlessWindowMask  
@@ -564,7 +564,7 @@
   NSDragOperation sourceDragMask = [sender draggingSourceOperationMask];
   NSPasteboard *pb = [sender draggingPasteboard];  
   NSArray *sourcePaths = [pb propertyListForType: NSFilenamesPboardType];
-       int i = 0;
+  NSUInteger i = 0;
 
   ASSIGN (icon, [[FSNodeRep sharedInstance] iconOfSize: ICON_SIZE 
                                                forNode: node]);
@@ -573,7 +573,7 @@
   if ([node isApplication] == NO) {
     NSString *operation, *source;
     NSMutableArray *files;
-    int tag;
+    NSInteger tag;
     
     source = [[sourcePaths objectAtIndex: 0] 
stringByDeletingLastPathComponent];
 
@@ -624,7 +624,7 @@
     }
   }
   
-       isDragTarget = NO;
+  isDragTarget = NO;
 }
 
 @end

Modified: apps/gworkspace/trunk/GWorkspace/GWorkspace.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/GWorkspace.m?rev=39404&r1=39403&r2=39404&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/GWorkspace.m       (original)
+++ apps/gworkspace/trunk/GWorkspace/GWorkspace.m       Mon Feb 22 11:25:39 2016
@@ -1428,7 +1428,7 @@
 {
   NSString *basePath;
   NSMutableArray *files;
-  int tag;
+  NSInteger tag;
   NSUInteger i;
 
   basePath = [NSString stringWithString: [selectedPaths objectAtIndex: 0]];
@@ -1455,7 +1455,7 @@
 {
   NSString *basePath;
   NSMutableArray *files;
-  int tag;
+  NSInteger tag;
   NSUInteger i;
 
   basePath = [NSString stringWithString: [selectedPaths objectAtIndex: 0]];
@@ -1484,7 +1484,7 @@
   NSMutableArray *umountPaths = [NSMutableArray array];
   NSMutableArray *files = [NSMutableArray array];
   NSUInteger i;
-  int tag;
+  NSInteger tag;
 
   for (i = 0; i < [selectedPaths count]; i++) {
     NSString *path = [selectedPaths objectAtIndex: i];

Modified: apps/gworkspace/trunk/GWorkspace/WorkspaceApplication.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/WorkspaceApplication.m?rev=39404&r1=39403&r2=39404&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/WorkspaceApplication.m     (original)
+++ apps/gworkspace/trunk/GWorkspace/WorkspaceApplication.m     Mon Feb 22 
11:25:39 2016
@@ -1,6 +1,6 @@
 /* WorkspaceApplication.m
  *  
- * Copyright (C) 2006-2014 Free Software Foundation, Inc.
+ * Copyright (C) 2006-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: January 2006
@@ -45,7 +45,7 @@
                       source:(NSString *)source 
                  destination:(NSString *)destination 
                        files:(NSArray *)files 
-                         tag:(int *)tag
+                         tag:(NSInteger *)tag
 {
   if (loggingout == NO)
     {

Modified: apps/gworkspace/trunk/Recycler/Recycler.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Recycler/Recycler.m?rev=39404&r1=39403&r2=39404&view=diff
==============================================================================
--- apps/gworkspace/trunk/Recycler/Recycler.m   (original)
+++ apps/gworkspace/trunk/Recycler/Recycler.m   Mon Feb 22 11:25:39 2016
@@ -1,6 +1,6 @@
 /* Recycler.m
  *  
- * Copyright (C) 2004-2013 Free Software Foundation, Inc.
+ * Copyright (C) 2004-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: June 2004
@@ -402,17 +402,18 @@
                             destination:(NSString *)destination
                                   files:(NSArray *)files
 {
-  int tag;
+  NSInteger tag;
 
   if ([ws performFileOperation: operation 
                         source: source
-                              destination: destination
-                                    files: files
-                                            tag: &tag] == NO) {
-    NSRunAlertPanel(nil, 
-        NSLocalizedString(@"Unable to contact GWorkspace", @""), 
-                            NSLocalizedString(@"OK", @""), nil, nil);          
                           
-  }
+                   destination: destination
+                         files: files
+                           tag: &tag] == NO)
+    {
+      NSRunAlertPanel(nil, 
+                      NSLocalizedString(@"Unable to contact GWorkspace", @""), 
+                      NSLocalizedString(@"OK", @""), nil, nil);                
                     
+    }
 }
 
 - (void)concludeRemoteFilesDragOperation:(NSData *)opinfo


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to