Changeset 570 for trunk/Cocoa/Pester


Ignore:
Timestamp:
07/20/09 06:03:22 (15 years ago)
Author:
Nicholas Riley
Message:

PSMovieAlertController.m: don't trigger _movieRateDidChange: on early termination.

File:
1 edited

Legend:

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

    r569 r570  
    3434        return;
    3535   
    36     if (repetitions == 0 || repetitionsRemaining == 0) {
    37         [[NSNotificationCenter defaultCenter] removeObserver: self
    38                                                         name: QTMovieRateDidChangeNotification
    39                                                       object: [movieView movie]];
    40    
     36    if (repetitions == 0 || repetitionsRemaining == 0) {   
    4137        [self close];
    4238        return;
     
    121117{
    122118    repetitions = 0;
     119    [[NSNotificationCenter defaultCenter] removeObserver: self
     120                                                    name: QTMovieRateDidChangeNotification
     121                                                  object: [movieView movie]];
    123122    [movieView pause: self];
    124123    [alert completedForAlarm: alarm];
Note: See TracChangeset for help on using the changeset viewer.