Fix reliability of detecting GTK theme

Looking up the schema recursively fixes false negatives.
This commit is contained in:
Patrick Griffis
2022-02-16 12:33:49 -06:00
committed by Phaedrus Leeds
parent aac1205d66
commit 361ec3bc8c

View File

@@ -679,7 +679,7 @@ flatpak_get_gtk_theme (void)
else
{
schema = g_settings_schema_source_lookup (source,
"org.gnome.desktop.interface", FALSE);
"org.gnome.desktop.interface", TRUE);
if (schema == NULL)
g_once_init_leave (&gtk_theme, g_strdup (""));