[gtk/f16c.msvc: 20/61] window: Actually enable the inspector by default




commit be1c9558aec1b990f14ffdccd2d04de9a1819b11
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]