Revision: 15545 http://sourceforge.net/p/skim-app/code/15545 Author: hofman Date: 2025-06-24 16:29:53 +0000 (Tue, 24 Jun 2025) Log Message: ----------- use property consistently
Modified Paths: -------------- trunk/SKApplication.m Modified: trunk/SKApplication.m =================================================================== --- trunk/SKApplication.m 2025-06-24 16:26:00 UTC (rev 15544) +++ trunk/SKApplication.m 2025-06-24 16:29:53 UTC (rev 15545) @@ -92,9 +92,9 @@ if ([[self delegate] respondsToSelector:@selector(applicationWillNotTerminate)]) [[NSNotificationCenter defaultCenter] removeObserver:[self delegate] name:SKApplicationWillNotTerminateNotification object:self]; [super setDelegate:delegate]; - if ([delegate respondsToSelector:@selector(applicationStartsTerminating:)]) + if ([[self delegate] respondsToSelector:@selector(applicationStartsTerminating:)]) [[NSNotificationCenter defaultCenter] addObserver:[self delegate] selector:@selector(applicationStartsTerminating:) name:SKApplicationStartsTerminatingNotification object:self]; - if ([delegate respondsToSelector:@selector(applicationWillNotTerminate:)]) + if ([[self delegate] respondsToSelector:@selector(applicationWillNotTerminate:)]) [[NSNotificationCenter defaultCenter] addObserver:[self delegate] selector:@selector(applicationStartsTerminating:) name:SKApplicationWillNotTerminateNotification object:self]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit