Gimp/tools/pdbgen/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.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
brush_select.pdb tools/pdbgen/pdb/pattern.pdb tools/pdbgen/pdb/gradients.pdb 2007-04-26 17:43:18 +00:00
brushes.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
buffer.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
channel.pdb removed "add_alpha" parameter from gimp_item_duplicate() and 2008-01-08 11:46:15 +00:00
color.pdb add refcounting and replace free() API by ref() and unref(). 2008-02-04 21:41:57 +00:00
context.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
convert.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
display.pdb reverted "fix" for bug #477008. 2007-09-25 11:25:05 +00:00
drawable.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
drawable_transform.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
edit.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
fileops.pdb pass the error also to file_utils_filename_to_uri(). 2007-12-05 20:32:55 +00:00
floating_sel.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
font_select.pdb added "gboolean non_empty" to require the string being non-empty. Changed 2007-04-25 14:23:05 +00:00
fonts.pdb In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimprc.pdb Changed "The GIMP" to "GIMP" everywhere, where it's used as a name. 2007-06-06 08:44:52 +00:00
gradient.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
gradient_select.pdb renamed GimpParamSpecString's flag "no_validate" to "allow_non_utf8". 2007-04-26 19:10:23 +00:00
gradients.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
grid.pdb In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
guides.pdb app/actions/channels-commands.c app/actions/colormap-actions.c 2007-12-25 16:21:40 +00:00
help.pdb In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
image.pdb app/actions/channels-commands.c app/actions/colormap-actions.c 2007-12-25 16:21:40 +00:00
layer.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
message.pdb gimp_plug_in_get_undo_desc() uses gimp_plug_in_procedure_get_label(). Made 2007-03-12 13:04:32 +00:00
misc.pdb app/pdb/misc_cmds.c changed wording in API docs. 2006-12-22 09:49:36 +00:00
paint_tools.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
palette.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
palette_select.pdb added "gboolean non_empty" to require the string being non-empty. Changed 2007-04-25 14:23:05 +00:00
palettes.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
parasite.pdb app/pdb/misc_cmds.c changed wording in API docs. 2006-12-22 09:49:36 +00:00
paths.pdb added GError arguments and fixed all functions to abort when the first 2007-12-06 18:40:12 +00:00
pattern.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
pattern_select.pdb added "gboolean non_empty" to require the string being non-empty. Changed 2007-04-25 14:23:05 +00:00
patterns.pdb app/pdb/Makefile.am new utility functions which look up brushes, patterns 2007-12-11 09:54:41 +00:00
plug_in.pdb improved documentation for gimp-plugin-menu-register. 2007-11-06 09:21:32 +00:00
procedural_db.pdb added GError arguments and reduce number of labels: to one by simply 2007-12-05 15:21:45 +00:00
progress.pdb added new procedure gimp-progress-end. 2007-07-25 10:48:25 +00:00
selection.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
selection_tools.pdb allow the use of constants when specifying limits for a PDB type. 2007-07-05 14:31:42 +00:00
text_tool.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
transform_tools.pdb add gimp_pdb_item_is_attached() which is a replacement for 2008-02-04 17:12:25 +00:00
undo.pdb gimp_plug_in_get_undo_desc() uses gimp_plug_in_procedure_get_label(). Made 2007-03-12 13:04:32 +00:00
unit.pdb Changed "The GIMP" to "GIMP" everywhere, where it's used as a name. 2007-06-06 08:44:52 +00:00
vectors.pdb added GError to GimpItem::rename(). 2007-12-12 13:57:11 +00:00