Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use mce_gconf_track_xxx() helpers in tklock module
Using helper functions for getting initial setting value and installing change notifier callback allows bit more compact code and makes it a bit more difficult to make obvious errors. Initialize fallback values from named constants. When possible use the same constants to initialize also the built-in config defaults. No functional changes.
- Loading branch information
Showing
3 changed files
with
45 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters