[gtk/gtk-4-2: 15/91] window: Actually enable the inspector by default
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-2: 15/91] window: Actually enable the inspector by default
- Date: Tue, 4 May 2021 02:05:40 +0000 (UTC)
commit 3ef8ff2a43fe343b6fa9c7e8de40cda15ad242a5
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Apr 5 11:53:09 2021 -0400
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.
gtk/gtkwindow.c | 4 ++--
1 file 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]