Revision: 12408 http://sourceforge.net/p/skim-app/code/12408 Author: hofman Date: 2021-09-17 21:02:04 +0000 (Fri, 17 Sep 2021) Log Message: ----------- Remove observer
Modified Paths: -------------- trunk/SKDisplayPreferences.m Modified: trunk/SKDisplayPreferences.m =================================================================== --- trunk/SKDisplayPreferences.m 2021-09-17 20:25:29 UTC (rev 12407) +++ trunk/SKDisplayPreferences.m 2021-09-17 21:02:04 UTC (rev 12408) @@ -64,7 +64,7 @@ - (void)dealloc { if (RUNNING_AFTER(10_13)) { @try { - [[NSUserDefaultsController sharedUserDefaultsController] removeObserver:self forKeys:[NSArray arrayWithObjects:SKBackgroundColorKey, SKFullScreenBackgroundColorKey, SKDarkBackgroundColorKey, SKDarkFullScreenBackgroundColorKey, nil] context:&SKDisplayPreferencesDefaultsObservationContext]; + [[NSUserDefaultsController sharedUserDefaultsController] removeObserver:self forKeys:[NSArray arrayWithObjects:SKBackgroundColorKey, SKFullScreenBackgroundColorKey, SKDarkBackgroundColorKey, SKDarkFullScreenBackgroundColorKey, SKSwatchColorsKey, nil] context:&SKDisplayPreferencesDefaultsObservationContext]; [colorSwatch unbind:@"colors"]; } @catch(id e) {} 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