Commit dd82b304 authored by Matthias Clasen's avatar Matthias Clasen

Fix module blacklisting

The handling of the module lists is a bit confusing here. There is
a global list that is populated with initial modules from GTK_MODULES,
and then there is a second list that is suppposed to hold the modules
loaded from the gtk-modules xsetting, which we attach to the GtkSettings
object. The blacklisting caused us to put the wrong modules into the
second list, and mess up the module refcounts, eventually double-freeing
memory when the setting changes repeatedly.
parent bd8e9085
......@@ -295,7 +295,9 @@ load_module (GSList *module_list,
success = TRUE;
info = NULL;
if (!success)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment