Revision: 3117
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3117&view=rev
Author:   hofman
Date:     2007-11-01 03:06:19 -0700 (Thu, 01 Nov 2007)

Log Message:
-----------
Partly revert changes for Leopard gradients. Change is not needed as long as we 
compile on 10.4.

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

Modified: trunk/CIImage_BDSKExtensions.m
===================================================================
--- trunk/CIImage_BDSKExtensions.m      2007-11-01 09:50:44 UTC (rev 3116)
+++ trunk/CIImage_BDSKExtensions.m      2007-11-01 10:06:19 UTC (rev 3117)
@@ -48,14 +48,10 @@
 + (void)initialize {
     OBINITIALIZE;
     
-    if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4) {
-        // in Tiger the input colors are reversed
-        startColorKey = [@"inputColor1" retain];
-        endColorKey = [@"inputColor0" retain];
-    } else {
-        startColorKey = [@"inputColor0" retain];
-        endColorKey = [@"inputColor1" retain];
-    }
+    // @@ Leopard: change this when compiling against 10.5 SDK
+    // in Tiger the input colors are reversed
+    startColorKey = [@"inputColor1" retain];
+    endColorKey = [@"inputColor0" retain];
 }
 
 + (CIImage *)imageWithConstantColor:(CIColor *)color;


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to