Commit d0608fce authored by Michael Natterer's avatar Michael Natterer 😴

libgimpmodule: disconnect from the modules' "modified" signal

when GimpModuleDB is finalized.
parent 7cbb04c0
......@@ -137,6 +137,15 @@ gimp_module_db_finalize (GObject *object)
if (db->modules)
{
GList *list;
for (list = db->modules; list; list = g_list_next (list))
{
g_signal_handlers_disconnect_by_func (list->data,
gimp_module_db_module_modified,
db);
}
g_list_free (db->modules);
db->modules = NULL;
}
......
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