Ignore:
Timestamp:
09/20/09 21:08:13 (15 years ago)
Author:
Nicholas Riley
Message:

Fix some problems/deprecation identified by compiling with the 10.6 SDK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSTimer.m

    r364 r587  
    231231            // NSLog(@"going to sleep, setting timer %@", PSTimerOnWake);
    232232            @try {
     233                // XXX replaced by dateByAddingTimeInterval: in 10.5 and later
    233234                [PSPowerManager setWakeTime: [[PSTimerOnWake fireDate] addTimeInterval: -15]];
    234235            } @catch (NSException *exception) {
Note: See TracChangeset for help on using the changeset viewer.