diff --git a/src/kits/screensaver/ScreenSaverPrefs.cpp b/src/kits/screensaver/ScreenSaverPrefs.cpp index 17b3afee01..db82baaeb3 100644 --- a/src/kits/screensaver/ScreenSaverPrefs.cpp +++ b/src/kits/screensaver/ScreenSaverPrefs.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include "ScreenSaverPrefs.h" @@ -156,7 +155,7 @@ void ScreenSaverPrefs::SaveSettings() { BMessage &settings = GetSettings(); - settings.PrintToStream(); + PRINT_OBJECT(settings); BFile file(fSSPath.Path(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); if ((file.InitCheck()!=B_OK) || (settings.Flatten(&file)!=B_OK)) fprintf(stderr, "Problem while saving screensaver preferences file!\n");