Revision: 5656
http://skim-app.svn.sourceforge.net/skim-app/?rev=5656&view=rev
Author: hofman
Date: 2009-09-04 09:38:16 +0000 (Fri, 04 Sep 2009)
Log Message:
-----------
just forget about system version check, as we can't give info about it
Modified Paths:
--------------
trunk/main.m
Modified: trunk/main.m
===================================================================
--- trunk/main.m 2009-09-04 09:31:46 UTC (rev 5655)
+++ trunk/main.m 2009-09-04 09:38:16 UTC (rev 5656)
@@ -12,16 +12,5 @@
int main(int argc, char *argv[])
{
- // Runtime check for system version
- // - uses Carbon dialog since we don't have NSApp yet
- // - uses Gestalt so we can check for a specific minor version (if it gets
this far, anyway)
- // - Gestalt header says to read a plist, but mailing lists (and Ali Ozer)
say to avoid that
- SInt32 version;
- OSStatus err = Gestalt(gestaltSystemVersion, &version);
-
- if (noErr != err || version < 0x00001050) {
- NSLog(@"Incompatible version. Skim requires Mac OSX 10.5 or later.");
- return err;
- }
return NSApplicationMain(argc, (const char **) argv);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit