Merge branch 'font-settings-fallback' into 'gtk-3-24'

wayland: Improve font setting fallback more

See merge request GNOME/gtk!3409
This commit is contained in:
Matthias Clasen 2021-04-07 18:58:21 +00:00
commit 550b7fe8b2

View File

@ -745,6 +745,14 @@ init_settings (GdkScreen *screen)
goto fallback;
}
if (g_variant_n_children (ret) == 0)
{
g_debug ("Received no portal settings");
g_clear_pointer (&ret, g_variant_unref);
goto fallback;
}
g_variant_get (ret, "(a{sa{sv}})", &iter);
while (g_variant_iter_loop (iter, "{s@a{sv}}", &schema, &val))