wayland: recursively search for the settings schema.

On some systems, the gtk settings are not used properly for wayland.
Indeed, g_settings_schema_source_get_default is used, and as the docs says it,
"all lookups performed against the default source should probably be done
recursively.".

https://bugzilla.gnome.org/show_bug.cgi?id=759409
This commit is contained in:
Lucas Baudin
2015-12-13 19:24:50 +01:00
committed by Matthias Clasen
parent 809c27e5d8
commit 7988bd8aea

View File

@@ -631,7 +631,7 @@ init_settings (GdkScreen *screen)
if (g_hash_table_lookup (screen_wayland->settings, (gpointer)translations[i].schema) != NULL)
continue;
schema = g_settings_schema_source_lookup (source, translations[i].schema, FALSE);
schema = g_settings_schema_source_lookup (source, translations[i].schema, TRUE);
if (schema != NULL)
{
settings = g_settings_new_full (schema, NULL, NULL);