summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-04-05 11:53:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-04-05 11:54:37 -0400
commitb79eb55b34c9f3126450ee23f876f0b36d9b19fa (patch)
tree00f8227aecabb200c4b757c699bbf2cbeb5c80d8
parent0ca573142a74f6feaa12f7b9124c46f4c0d6f02e (diff)
downloadgtk+-b79eb55b34c9f3126450ee23f876f0b36d9b19fa.tar.gz
window: Actually enable the inspector by default
427d216081ea0fd9e2045e changed the default in the schema, but didn't handle cases where the schema isn't found.
-rw-r--r--gtk/gtkwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 2aa6053494..7b1eaa860d 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -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",