mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
d1ef896c73
2008-03-06 Thomas Thurman <tthurman@gnome.org> Part three of the great prefs refactor, this time dealing with string preferences. (This was the most complicated part, and has been especially tested and valground before committing. As ever, though, let us know if you find a problem.) * src/core/prefs.c (MetaStringPreference): new struct. * src/core/prefs.c (update_*): replaced with *_handler * src/core/prefs.c (meta_prefs_init): uses new string prefs init; uses array of gconf dirs to monitor rather than repeating code. * src/core/prefs.c (handle_preference_init_enum): tidying * src/core/prefs.c (change_notify): uses new string prefs svn path=/trunk/; revision=3624