Gimp/app/pdb
Michael Natterer 50ad5cfd32 add refcounting and replace free() API by ref() and unref().
2008-02-04  Michael Natterer  <mitch@gimp.org>

	* app/base/gimphistogram.[ch]: add refcounting and replace free()
	API by ref() and unref().

	* app/core/gimpdrawable-equalize.c
	* app/core/gimpdrawable-levels.c
	* app/widgets/gimphistogrameditor.c
	* tools/pdbgen/pdb/color.pdb: replace calls to
	gimp_histogram_free() by gimp_histogram_unref().

	* app/pdb/color_cmds.c: regenerated.

	* app/widgets/gimphistogramview.c: reference the histograms so we
	don't need the widget's users to keep them around while the widget
	exists.

	* app/tools/gimpcurvestool.[ch]: remove the histogram from the
	tool struct and just create one locally to set it on the histogram
	view widget.

	Unrelated:

	* app/tools/gimplevelstool.[ch]
	* app/tools/gimpthresholdtool.[ch]: renamed "hist" members to
	"histogram" plus some cleanup.


svn path=/trunk/; revision=24792
2008-02-04 21:41:57 +00:00
..
brush_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
brush_select_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
brushes_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
buffer_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
channel_cmds.c removed "add_alpha" parameter from gimp_item_duplicate() and 2008-01-08 11:46:15 +00:00
color_cmds.c add refcounting and replace free() API by ref() and unref(). 2008-02-04 21:41:57 +00:00
context_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
convert_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
display_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
drawable_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
drawable_transform_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
edit_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
fileops_cmds.c pass the error also to file_utils_filename_to_uri(). 2007-12-05 20:32:55 +00:00
floating_sel_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
font_select_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
fonts_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gimp-pdb-compat.c added "gboolean non_empty" to require the string being non-empty. Changed 2007-04-25 14:23:05 +00:00
gimp-pdb-compat.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimppdb-query.c added GError arguments and reduce number of labels: to one by simply 2007-12-05 15:21:45 +00:00
gimppdb-query.h added GError arguments and reduce number of labels: to one by simply 2007-12-05 15:21:45 +00:00
gimppdb-utils.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
gimppdb-utils.h add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
gimppdb.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gimppdb.h use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gimppdberror.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gimppdberror.h use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gimpprocedure.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gimpprocedure.h use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gimprc_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gradient_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
gradient_select_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gradients_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
grid_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
guides_cmds.c app/actions/channels-commands.c app/actions/colormap-actions.c 2007-12-25 16:21:40 +00:00
help_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
image_cmds.c app/actions/channels-commands.c app/actions/colormap-actions.c 2007-12-25 16:21:40 +00:00
internal_procs.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2007-11-18 18:51:54 +00:00
internal_procs.h HACKING tools/pdbgen/lib.pl fixed spelling of "auto-generated". 2007-01-09 10:52:47 +00:00
layer_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
Makefile.am optionally use gegl where we already have operations (breaking the 2008-01-04 17:56:09 +00:00
makefile.msc **/makefile.msc app/gimpcore.def : updated so it compiles and links 2008-01-04 18:42:07 +00:00
message_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
misc_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
paint_tools_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
palette_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
palette_select_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
palettes_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
parasite_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
paths_cmds.c added GError arguments and fixed all functions to abort when the first 2007-12-06 18:40:12 +00:00
pattern_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
pattern_select_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
patterns_cmds.c app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
pdb-types.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
plug_in_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
procedural_db_cmds.c added GError arguments and reduce number of labels: to one by simply 2007-12-05 15:21:45 +00:00
progress_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
README
selection_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
selection_tools_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
text_tool_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
transform_tools_cmds.c add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
undo_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
unit_cmds.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
vectors_cmds.c added GError to GimpItem::rename(). 2007-12-12 13:57:11 +00:00

This directory contains the PDB-wrappers for various internal
Gimp functions.

THESE FILES ARE AUTOGENERATED AND CHANGES HERE ARE USELESS!

If you need to change the code please have a look in ../../tools/pdbgen/pdb.