mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-03 22:20:52 -08:00
; * src/nsselect.m (ns_decode_data_to_pasteboard): Fix GNUstep build.
This commit is contained in:
parent
6d6d1adbe7
commit
b2c8e8a299
1 changed files with 6 additions and 0 deletions
|
|
@ -590,8 +590,14 @@ ns_decode_data_to_pasteboard (Lisp_Object type, Lisp_Object data,
|
|||
|
||||
[pasteboard declareTypes: new
|
||||
owner: nil];
|
||||
|
||||
#if NS_USE_NSPasteboardTypeFileURL
|
||||
[pasteboard setString: [NSString stringWithLispString: data]
|
||||
forType: NSPasteboardTypeFileURL];
|
||||
#else
|
||||
[pasteboard setString: [NSString stringWithLispString: data]
|
||||
forType: NSFilenamesPboardType];
|
||||
#endif
|
||||
}
|
||||
else
|
||||
signal_error ("Unknown pasteboard type", type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue