inspector: Look up the schema recursively

This is the recommended way to use this function. It should
also fix problems with the inspector when GSETTINGS_SCHEMA_DIR
is set.

https://bugzilla.gnome.org/show_bug.cgi?id=737027
This commit is contained in:
Matthias Clasen 2014-09-20 19:52:23 -04:00
parent fb126586ed
commit 3c96ea0ae7

View File

@ -11703,7 +11703,8 @@ inspector_keybinding_enabled (gboolean *warn)
schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
"org.gtk.Settings.Debug",
FALSE);
TRUE);
if (schema)
{
settings = g_settings_new_full (schema, NULL, NULL);