forked from AuroraMiddleware/gtk
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:
parent
0ca573142a
commit
b79eb55b34
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user