From 228f30e055589bfe5c053b472ab415cddb88a0a6 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 8 Sep 2011 16:47:57 -0400 Subject: gtkmodules: don't append NULL to module list for blacklisted module fixes a crash when removing "gail" from gtksettings-specified modules --- gtk/gtkmodules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkmodules.c') diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c index d4135f0f7c..3a8dac3e14 100644 --- a/gtk/gtkmodules.c +++ b/gtk/gtkmodules.c @@ -377,7 +377,7 @@ load_module (GSList *module_list, } } - if (success) + if (success && info) { if (!g_slist_find (module_list, info)) { -- cgit v1.2.1