Revision: 15287
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15287&view=rev
Author: hofman
Date: 2009-05-08 14:14:56 +0000 (Fri, 08 May 2009)
Log Message:
-----------
Remove unneeded main thread perform.
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m 2009-05-08
04:59:19 UTC (rev 15286)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m 2009-05-08
14:14:56 UTC (rev 15287)
@@ -68,14 +68,14 @@
{
FVINITIALIZE(FVFinderIcon);
- // init on main thread to avoid race conditions
- [[FVMissingFinderIcon self]
performSelectorOnMainThread:@selector(sharedIcon) withObject:nil
waitUntilDone:NO];
- [[FVHTTPURLIcon self] performSelectorOnMainThread:@selector(sharedIcon)
withObject:nil waitUntilDone:NO];
- [[FVGenericURLIcon self] performSelectorOnMainThread:@selector(sharedIcon)
withObject:nil waitUntilDone:NO];
- [[FVFTPURLIcon self] performSelectorOnMainThread:@selector(sharedIcon)
withObject:nil waitUntilDone:NO];
- [[FVMailURLIcon self] performSelectorOnMainThread:@selector(sharedIcon)
withObject:nil waitUntilDone:NO];
- [[FVGenericFolderIcon self]
performSelectorOnMainThread:@selector(sharedIcon) withObject:nil
waitUntilDone:NO];
- [[FVSavedSearchIcon self]
performSelectorOnMainThread:@selector(sharedIcon) withObject:nil
waitUntilDone:NO];
+ // create all singletons now to avoid locking
+ [[FVMissingFinderIcon self] sharedIcon];
+ [[FVHTTPURLIcon self] sharedIcon];
+ [[FVGenericURLIcon self] sharedIcon];
+ [[FVFTPURLIcon self] sharedIcon];
+ [[FVMailURLIcon self] sharedIcon];
+ [[FVGenericFolderIcon self] sharedIcon];
+ [[FVSavedSearchIcon self] sharedIcon];
}
+ (BOOL)_isSavedSearchURL:(NSURL *)aURL
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit