summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-09-08 16:47:57 -0400
committerDan Winship <danw@gnome.org>2011-09-08 16:52:00 -0400
commit228f30e055589bfe5c053b472ab415cddb88a0a6 (patch)
tree6d0ba4a378174fba051cccba112dfdf590343767 /gtk
parent3a1b2871b8f722636e7da9e1546bfb948c2a9b7f (diff)
downloadgtk+-228f30e055589bfe5c053b472ab415cddb88a0a6.tar.gz
gtkmodules: don't append NULL to module list for blacklisted module
fixes a crash when removing "gail" from gtksettings-specified modules
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkmodules.c2
1 files changed, 1 insertions, 1 deletions
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))
{