Author: adamfoxtp
Date: Wed Aug 12 01:37:34 2015
New Revision: 38872
URL: http://svn.gna.org/viewcvs/gnustep?rev=38872&view=rev
Log:
Fix usages of [NSTextView writeSelectionToPasteboard:type:], thanks to Fred
Kiefer <[email protected]>, r38871.
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSTextView.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSTextView.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSTextView.m?rev=38872&r1=38871&r2=38872&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSTextView.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSTextView.m Wed Aug
12 01:37:34 2015
@@ -2546,7 +2546,7 @@
NSPasteboard *pb = [NSPasteboard pasteboardWithName: NSFontPboard];
[self writeSelectionToPasteboard: pb
- type: NSFontPboardType];
+ types: [NSArray arrayWithObject:
NSFontPboardType]];
}
/* Copy the current ruler settings to the ruler pasteboard */
@@ -2555,7 +2555,7 @@
NSPasteboard *pb = [NSPasteboard pasteboardWithName: NSRulerPboard];
[self writeSelectionToPasteboard: pb
- type: NSRulerPboardType];
+ types: [NSArray arrayWithObject:
NSRulerPboardType]];
}
@@ -6283,7 +6283,7 @@
[self writeSelectionToPasteboard:
[NSPasteboard pasteboardWithName: @"Selection"]
- type: NSStringPboardType];
+ types: [NSArray arrayWithObject: NSStringPboardType]];
}
/** Extension method that pastes the current selected text from the
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs