BugĀ 622128 - retry with default for failed mapping
authorRyan Lortie <desrt@desrt.ca>
Fri, 25 Jun 2010 14:52:32 +0000 (10:52 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 25 Jun 2010 14:56:41 +0000 (10:56 -0400)
commit7cdc592ae478b71a66aa1541b81588b5b200e5f2
tree8639d002998ec312cecef304d9910dcb3dc42d73
parent499ece9b52ec18e7a0ab5c9cda6b0b82946a8c7e
BugĀ 622128 - retry with default for failed mapping

Hold the GSettingsKeyInfo as part of the binding structure to save work
on each get/set.  Use our copy of this structure to call the internal
get/set APIs.  Give more descriptive error messages in the case of
invalid data on sets and retry using the translated default then schema
default value in case of failure to map on reads.
gio/gsettings.c