mirror of https://github.com/GNOME/gimp.git
![]() 2006-04-07 Michael Natterer <mitch@gimp.org> * app/pdb/gimp-pdb.c (gimp_pdb_register) (gimp_pdb_unregister): ref all registered procedures. * app/xcf/xcf.c * tools/pdbgen/app.pl: unref newly created procedures after registering them. * app/core/gimp.[ch]: renamed member "plug_in_proc_defs" to "plug_in_procedures". Renamed "proc_def" variables to "procedure". * app/actions/plug-in-actions.c * app/menus/plug-in-menus.c: changed accordingly. * app/plug-in/plug-ins.[ch]: keep a reference to all procs which are in gimp->plug_in_procedures. (plug_ins_exit): unref them all and free the list. Apparently we were leaking them before on exit. * app/plug-in/plug-in-def.[ch]: s/proc_defs/procedures/. Ref procedures added with plug_in_def_add_procedure(). Added plug_in_def_remove_procedure() which unrefs them again. Removed "free_proc_defs" parameter from plug_in_def_free() and always unref the procedures. * app/plug-in/plug-in.[ch]: added plug_in_add_temp_proc() and plug_in_remove_temp() proc. Ref the added procedures. * app/plug-in/plug-in-message.c: use the new APIs instead of adding/removing procs and temp procs from their lists manually. Unref the newly created procedure after adding then to the plug_in_def or plug_in. * app/plug-in/plug-in-rc.[ch] * app/plug-in/plug-ins-query.c * tools/pdbgen/pdb/plug_in.pdb: changed accordingly. * app/pdb/*_cmds.c: regenerated. |
||
---|---|---|
.. | ||
actions | ||
base | ||
composite | ||
config | ||
core | ||
dialogs | ||
display | ||
file | ||
gui | ||
menus | ||
paint | ||
paint-funcs | ||
pdb | ||
plug-in | ||
text | ||
tools | ||
vectors | ||
widgets | ||
xcf | ||
.cvsignore | ||
Makefile.am | ||
about.h | ||
airbrush.c | ||
app_procs.c | ||
app_procs.h | ||
batch.c | ||
batch.h | ||
errors.c | ||
errors.h | ||
fileicon.ico | ||
gimp-intl.h | ||
gimp.rc | ||
gimpcore.def | ||
main.c | ||
makefile.msc | ||
paint_core.h | ||
paint_options.h | ||
plug_in_cmds.c | ||
sanity.c | ||
sanity.h | ||
transform_core.c | ||
units.c | ||
units.h | ||
wilber.ico |