gimp/app/menus
Michael Natterer 5f211479ac ref all registered procedures.
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.
2006-04-07 08:16:26 +00:00
..
.cvsignore configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
Makefile.am check for gthread-2.0 unless the --disable-mp option is given. 2005-02-13 15:08:08 +00:00
dockable-menu.c app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
dockable-menu.h app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
file-menu.c added new PDB function gimp_register_file_handler_mime() that allows to 2004-05-14 00:01:11 +00:00
file-menu.h added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
image-menu.c app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
image-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
makefile.msc TILE_WIDTH is used unconditionally so always include "tile.h" WIN32 needs 2005-02-19 00:50:36 +00:00
menus-types.h removed enum GimpContextSelectType. 2004-06-23 00:23:25 +00:00
menus.c app/core/gimp-modules.c more output on --verbose 2005-11-07 09:39:06 +00:00
menus.h added GimpMenuFactory parameter and removed inclusion on "menus/menus.h". 2004-09-20 14:41:54 +00:00
plug-in-menus.c ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in-menus.h app/plug-in/plug-in-types.h renamed to GimpPlugInProcedure and made a 2006-04-05 08:38:33 +00:00
tool-options-menu.c added "name" attributes to all submenus. 2004-05-13 15:50:55 +00:00
tool-options-menu.h added signal "update" which is G_SIGNAL_RUN_LAST, so handlers can hook in 2004-04-30 15:29:11 +00:00
toolbox-menu.c added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
toolbox-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
window-menu.c don't crash if gdk_display_get_name() returns NULL. 2005-11-26 23:03:40 +00:00
window-menu.h app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00