Revision: 7789
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7789&view=rev
Author:   hofman
Date:     2012-11-05 15:30:45 +0000 (Mon, 05 Nov 2012)
Log Message:
-----------
no need to dispatch to the main thread when we're already on the main thread

Modified Paths:
--------------
    trunk/SKConversionProgressController.m

Modified: trunk/SKConversionProgressController.m
===================================================================
--- trunk/SKConversionProgressController.m      2012-11-05 15:22:40 UTC (rev 
7788)
+++ trunk/SKConversionProgressController.m      2012-11-05 15:30:45 UTC (rev 
7789)
@@ -325,9 +325,7 @@
         if (success)
             outputData = [outData retain];
         [self conversionCompleted];
-        dispatch_async(dispatch_get_main_queue(), ^{
-            [NSApp stopModalWithCode:success ? SKConversionSucceeded : 
SKConversionFailed];
-        });
+        [NSApp stopModalWithCode:success ? SKConversionSucceeded : 
SKConversionFailed];
     }
 }
 
@@ -363,9 +361,7 @@
         }
         @catch(id exception) {
             SKDESTROY(task);
-            dispatch_async(dispatch_get_main_queue(), ^{
-                [NSApp stopModalWithCode:SKConversionFailed];
-            });
+            [NSApp stopModalWithCode:SKConversionFailed];
         }
     }];
     

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to