GSettings: store (default, options) in gvdb
authorRyan Lortie <desrt@desrt.ca>
Thu, 10 Jun 2010 17:49:57 +0000 (13:49 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 10 Jun 2010 17:49:57 +0000 (13:49 -0400)
commit3a062d2e33aa1d54dd460a1a2cb297009d94d4d6
tree2f36684ba38a8f353f3cb06299fe1e5326e93901
parent73007021796f33d7ccec4e5f2bb2b2f8660347f2
GSettings: store (default, options) in gvdb

gvdb just dropped the ability to have a separate "options" field.  We
now store the options into a GVariant along with the default value.

For now, we use a small shim in GSettingsSchema in order not to touch
too much code.  A more complete rewrite will follow.

This represents a change to the schema file format with another likely
to follow.  glib-compile-schemas needs to be re-run after installing
this change.
gio/gschema-compile.c
gio/gsettings.c
gio/gsettingsschema.c
gio/gsettingsschema.h