mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
gtkmodules: don't append NULL to module list for blacklisted module
fixes a crash when removing "gail" from gtksettings-specified modules
This commit is contained in:
parent
3a1b2871b8
commit
228f30e055
@ -377,7 +377,7 @@ load_module (GSList *module_list,
|
||||
}
|
||||
}
|
||||
|
||||
if (success)
|
||||
if (success && info)
|
||||
{
|
||||
if (!g_slist_find (module_list, info))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user