mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 05:10:47 +00:00
More pasteboard work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17049 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
971194c387
commit
47bcd510bb
3 changed files with 6 additions and 12 deletions
|
@ -188,9 +188,9 @@
|
|||
NSArray *sendTypes = [info objectForKey: @"NSSendTypes"];
|
||||
unsigned i;
|
||||
|
||||
for (i = 0; i < [types count]; i++)
|
||||
for (i = 0; i < [originalTypes count]; i++)
|
||||
{
|
||||
fromType = [types objectAtIndex: i];
|
||||
fromType = [originalTypes objectAtIndex: i];
|
||||
if ([sendTypes containsObject: fromType] == YES)
|
||||
{
|
||||
break;
|
||||
|
@ -258,7 +258,7 @@
|
|||
/*
|
||||
* Now get the service provider to do the job.
|
||||
*/
|
||||
GSPerformService(filterName, tmp, YES)
|
||||
GSPerformService(filterName, tmp, YES);
|
||||
|
||||
/*
|
||||
* Finally, make it available.
|
||||
|
@ -551,7 +551,7 @@ static NSMapTable *mimeMap = NULL;
|
|||
{
|
||||
id<GSPasteboardObj> anObj;
|
||||
|
||||
anObj = [[self _pbs] pasteboardWithUniqueName];
|
||||
anObj = [[self _pbs] pasteboardWithName: nil];
|
||||
if (anObj)
|
||||
{
|
||||
NSString *aName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue