* Source/NSPasteboard.m (NSURL-writeToPasteboard:): Declare the type.

Patch by Andreas Schik <andreas.schik@web.de>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35109 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2012-04-24 07:48:53 +00:00
parent d171787b3e
commit 95603a951c
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-04-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPasteboard.m (NSURL-writeToPasteboard:): Declare the type.
Patch by Andreas Schik <andreas.schik@web.de>.
2012-04-19 Riccardo Mottola <rm@gnu.org>
* configure

View file

@ -2292,6 +2292,8 @@ description, [cmd stringByDeletingLastPathComponent]);
*/
- (void) writeToPasteboard: (NSPasteboard *)pasteBoard
{
[pasteBoard declareTypes: [NSArray arrayWithObject: NSURLPboardType]
owner: nil];
[pasteBoard setString: [self absoluteString]
forType: NSURLPboardType];
}