Commit 306ee6d9 authored by Lucas Baudin's avatar Lucas Baudin Committed by Matthias Clasen

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
parent 0bfd012f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment