Revision: 5194
http://skim-app.svn.sourceforge.net/skim-app/?rev=5194&view=rev
Author: hofman
Date: 2009-02-07 18:39:53 +0000 (Sat, 07 Feb 2009)
Log Message:
-----------
remove deprecated code when compiling for Leopard-only
Modified Paths:
--------------
trunk/Files_SKExtensions.m
Modified: trunk/Files_SKExtensions.m
===================================================================
--- trunk/Files_SKExtensions.m 2009-02-06 17:29:22 UTC (rev 5193)
+++ trunk/Files_SKExtensions.m 2009-02-07 18:39:53 UTC (rev 5194)
@@ -48,8 +48,11 @@
FSRef pathRef;
CFURLRef downloadsURL;
+#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_4) {
+#endif
err = FSFindFolder(kUserDomain, kDownloadsFolderType, TRUE,
&pathRef);
+#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
} else {
ICInstance inst;
ICAttr junk = 0;
@@ -75,6 +78,7 @@
CFRelease(downloadsURL);
}
}
+#endif
return downloadsDirectory;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit