mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-11 17:36:44 -04:00
Fix reliability of detecting GTK theme
Looking up the schema recursively fixes false negatives.
This commit is contained in:
committed by
Phaedrus Leeds
parent
aac1205d66
commit
361ec3bc8c
@@ -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 (>k_theme, g_strdup (""));
|
||||
|
||||
Reference in New Issue
Block a user