Revision: 9172 http://sourceforge.net/p/skim-app/code/9172 Author: hofman Date: 2016-10-14 16:29:17 +0000 (Fri, 14 Oct 2016) Log Message: ----------- check instance method rather than class method for page background color support
Modified Paths: -------------- trunk/PDFView_SKExtensions.m Modified: trunk/PDFView_SKExtensions.m =================================================================== --- trunk/PDFView_SKExtensions.m 2016-10-14 09:57:35 UTC (rev 9171) +++ trunk/PDFView_SKExtensions.m 2016-10-14 16:29:17 UTC (rev 9172) @@ -267,7 +267,7 @@ } + (NSColor *)defaultPageBackgroundColor { - if ([self respondsToSelector:@selector(setPageColor:)]) + if ([self instancesRespondToSelector:@selector(setPageColor:)]) return [[NSUserDefaults standardUserDefaults] colorForKey:SKPageBackgroundColorKey] ?: [NSColor whiteColor]; return [NSColor whiteColor]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit