window: Actually enable the inspector by default

427d216081 changed the default in the schema,
but didn't handle cases where the schema isn't found.
This commit is contained in:
Matthias Clasen 2021-04-05 11:53:09 -04:00
parent 0ca573142a
commit b79eb55b34

View File

@ -6120,8 +6120,8 @@ inspector_keybinding_enabled (gboolean *warn)
GSettings *settings;
gboolean enabled;
enabled = FALSE;
*warn = FALSE;
enabled = TRUE;
*warn = TRUE;
schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
"org.gtk.gtk4.Settings.Debug",