-
Michael Natterer authored
2006-05-21 Michael Natterer <mitch@gimp.org> One of the following changes fixes a crash on exit when there is a cut buffer and a clipboard manager is runnig. I don't care which, since they are all the right thing to do: * app/widgets/gimpdialogfactory.c (gimp_dialog_factory_finalize): don't remove the factory from the hash table of all factories here... (gimp_dialog_factory_dispose): ...but here. Use the right key for the toolbox factory. (gimp_dialog_factories_set_busy) (gimp_dialog_factories_unset_busy): check the return value of g_type_class_ref() before using it. Unrelated: (gimp_dialog_factory_dispose): free the list of open dialogs here, not in dispose(). Don't leak all the factory's session infos.
a5de974a