From 3c96ea0ae7af68bcd47dae6737fd5ea200d4a97e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 20 Sep 2014 19:52:23 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 4a686374ec..c0943d2b7f 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);