Revision: 5641
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5641&view=rev
Author:   hofman
Date:     2009-09-03 20:08:11 +0000 (Thu, 03 Sep 2009)

Log Message:
-----------
Don't use enum value not defined for 64-bit. Strange, because the function 
still seems to exist.

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2009-09-03 20:07:13 UTC (rev 5640)
+++ trunk/SKMainWindowController.m      2009-09-03 20:08:11 UTC (rev 5641)
@@ -40,7 +40,7 @@
 #import "SKMainWindowController_Toolbar.h"
 #import "SKMainWindowController_UI.h"
 #import <Quartz/Quartz.h>
-#import <Carbon/Carbon.h>
+#import <CoreServices/CoreServices.h>
 #import "SKStringConstants.h"
 #import "SKSnapshotWindowController.h"
 #import "SKNoteWindowController.h"
@@ -1454,7 +1454,7 @@
 }
 
 - (void)activityTimerFired:(NSTimer *)timer {
-    UpdateSystemActivity(UsrActivity);
+    UpdateSystemActivity(1); // UsrActivity = 1, but that's not defined for 64 
bits
 }
 
 - (void)enterPresentationMode {


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

Reply via email to