Support maybe types in dconf
commite103f710c6ac5b9db21a88bd904b104bda1bf911
authorRyan Lortie <desrt@desrt.ca>
Fri, 22 Jul 2011 08:33:03 +0000 (22 10:33 +0200)
committerRyan Lortie <desrt@desrt.ca>
Fri, 22 Jul 2011 08:35:10 +0000 (22 10:35 +0200)
tree6c7ac2457d3d06d65b2e91f3e323894ca9b5c5fc
parent5a8b222f297546105350e734bb79bd8373bdd1a2
Support maybe types in dconf

Work around the fact that we can't send maybe types over D-Bus by
sending a blob of serialised GVariant data instead.

Abuse the fact that we're using an array to denote 'maybe' at the level
of the dconf protocol and fill that array with 2 items (which would not
otherwise be possible) to indicate this special case.
engine/dconf-engine.c
service/service.c