diff --git a/clientscr/Mac_Saver_Module.h b/clientscr/Mac_Saver_Module.h index d54d15a0dc..86e12067b1 100644 --- a/clientscr/Mac_Saver_Module.h +++ b/clientscr/Mac_Saver_Module.h @@ -43,7 +43,6 @@ bool getShow_default_ss_first(); double getGFXDefaultPeriod(); double getGFXSciencePeriod(); double getGGFXChangePeriod(); -bool validateNumericString(CFStringRef s); void setShow_default_ss_first(bool value); void setGFXDefaultPeriod(double value); void setGFXSciencePeriod(double value); diff --git a/clientscr/Mac_Saver_ModuleView.m b/clientscr/Mac_Saver_ModuleView.m index b2aa705321..55c21abde3 100644 --- a/clientscr/Mac_Saver_ModuleView.m +++ b/clientscr/Mac_Saver_ModuleView.m @@ -542,7 +542,6 @@ int signof(float x) { NSScanner *scanner, *scanner2; -print_to_log_file(" Entered closeSheetSave"); // get the defaults ScreenSaverDefaults *defaults = [ ScreenSaverDefaults defaultsForModuleWithName:mBundleID ]; @@ -600,7 +599,6 @@ Bad: [alert setMessageText:@"Please enter a number between 0 and 999."]; [alert setAlertStyle:NSCriticalAlertStyle]; [alert beginSheetModalForWindow:mConfigureSheet modalDelegate:self didEndSelector:nil contextInfo:nil]; -print_to_log_file("called beginSheetModalForWindow"); } // Called when the user clicked the CANCEL button diff --git a/clientscr/mac_saver_module.cpp b/clientscr/mac_saver_module.cpp index 4987d8b073..80060380ef 100644 --- a/clientscr/mac_saver_module.cpp +++ b/clientscr/mac_saver_module.cpp @@ -221,21 +221,6 @@ double getDTime() { } -bool validateNumericString(CFStringRef s) { - CFIndex i; - CFRange range, result; - CFIndex len = CFStringGetLength(s); - CFCharacterSetRef theSet = CFCharacterSetGetPredefined(kCFCharacterSetDecimalDigit); - - for (i=0; i