mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
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:
parent
fb126586ed
commit
3c96ea0ae7
@ -11703,7 +11703,8 @@ inspector_keybinding_enabled (gboolean *warn)
|
|||||||
|
|
||||||
schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
|
schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
|
||||||
"org.gtk.Settings.Debug",
|
"org.gtk.Settings.Debug",
|
||||||
FALSE);
|
TRUE);
|
||||||
|
|
||||||
if (schema)
|
if (schema)
|
||||||
{
|
{
|
||||||
settings = g_settings_new_full (schema, NULL, NULL);
|
settings = g_settings_new_full (schema, NULL, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user