g_settings_list_children: only list viable schemas
authorRyan Lortie <desrt@desrt.ca>
Thu, 8 Aug 2013 16:50:21 +0000 (18:50 +0200)
committerRyan Lortie <desrt@desrt.ca>
Wed, 2 Oct 2013 16:37:09 +0000 (12:37 -0400)
commit27898916d42f0e827cf2e99c12ab7bcd0a3712a9
tree72ef0cc20d513053878a542c729690f17f3ef0c4
parentd1e4f3dd1a67a646314918d90119e352d34315cb
g_settings_list_children: only list viable schemas

Don't return children with invalid schemas from
g_settings_list_children() (ie: missing schemas or mismatched paths).
This prevents gsettings list-recursively from crashing when broken
schemas are installed on the system.

https://bugzilla.gnome.org/show_bug.cgi?id=705688
gio/gsettingsschema.c