mate-desktop/mate-power-manager — pull request #21 by bhull2010 (2012-11-04 05:50:15+00:00)
Title: Remove dependency on mate-screensaver's schema

Thanks for the tip Stefano-k! I updated the code that reads the screensaver lock setting using the method from mate-appearance-properties (and no longer crashes if the screensaver schema isn't installed). The function in gpm-screensaver.c (gpm_screensaver_lock_enabled) that also read this key wasn't used anywhere in mate-power-manager, so I just removed it.

I noticed a lot of other unused functions in gpm-screensaver.c that were disabled by #if 0 .... #endif. Should I remove these and the (similarly disabled) mateconf defaults button code?