[gtk+] inspector: Look up the schema recursively



commit 3c96ea0ae7af68bcd47dae6737fd5ea200d4a97e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Sep 20 19:52:23 2014 -0400

    inspector: Look up the schema recursively
    
    This is the recommended way to use this function. It should
    also fix problems with the inspector when GSETTINGS_SCHEMA_DIR
    is set.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737027

 gtk/gtkwindow.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 4a68637..c0943d2 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -11703,7 +11703,8 @@ inspector_keybinding_enabled (gboolean *warn)
 
   schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
                                             "org.gtk.Settings.Debug",
-                                            FALSE);
+                                            TRUE);
+
   if (schema)
     {
       settings = g_settings_new_full (schema, NULL, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]