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:
Dan Winship 2011-09-08 16:47:57 -04:00
parent 3a1b2871b8
commit 228f30e055

View File

@ -377,7 +377,7 @@ load_module (GSList *module_list,
}
}
if (success)
if (success && info)
{
if (!g_slist_find (module_list, info))
{