gimp/app/vectors
Michael Natterer 68c21b49e9 Revert the change which adds GError parameters to
2008-09-17  Michael Natterer  <mitch@gimp.org>

	Revert the change which adds GError parameters to
	gimp_image_add_{channel,layer,vectors}():

	* app/actions/channels-commands.c
	* app/actions/edit-commands.c
	* app/actions/layers-commands.c
	* app/actions/vectors-commands.c
	* app/core/gimp-edit.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-quick-mask.c
	* app/core/gimpimage.[ch]
	* app/core/gimplayer-floating-sel.c
	* app/core/gimpselection.c
	* app/core/gimptemplate.c
	* app/display/gimpdisplayshell-dnd.c
	* app/text/gimptext-compat.c
	* app/tools/gimptexttool.c
	* app/tools/gimpvectortool.c
	* app/vectors/gimpvectors-import.c
	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpitemtreeview.[ch]
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimpvectorstreeview.c
	* app/xcf/xcf-load.c: revert.

	Instead, fix it at the PDB level:

	* app/core/gimpimage.c: turn the "added to wrong image" warning
	into a g_return_val_if_fail() assertion.

	* app/pdb/gimppdb-utils.[ch] (gimp_pdb_item_is_floating): add a
	"dest_image" parameter and fail if the passed item is not for this
	image.

	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/paths.pdb: pass the dest image to
	gimp_pdb_item_is_floating().

	* app/pdb/image-cmds.c
	* app/pdb/layer-cmds.c
	* app/pdb/paths-cmds.c: regenerated.


svn path=/trunk/; revision=26970
2008-09-17 11:41:54 +00:00
..
gimpanchor.c use g_slice_dup() instead of copying the struct contents manually. 2008-03-10 14:25:47 +00:00
gimpanchor.h renamed gimp_anchor_duplicate() to gimp_anchor_copy(). 2007-01-12 20:31:27 +00:00
gimpbezierstroke.c template can be const 2008-07-22 10:56:35 +00:00
gimpbezierstroke.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpstroke-new.c formatting. 2007-08-11 19:40:22 +00:00
gimpstroke-new.h formatting. 2007-08-11 19:40:22 +00:00
gimpstroke.c app/vectors/gimpvectors.[ch] app/vectors/gimpstroke.[ch] Implement 2008-05-12 21:47:07 +00:00
gimpstroke.h app/vectors/gimpvectors.[ch] app/vectors/gimpstroke.[ch] Implement 2008-05-12 21:47:07 +00:00
gimpvectors-compat.c app/actions/layers-commands.c app/core/gimpchannel-combine.c 2007-12-23 16:58:41 +00:00
gimpvectors-compat.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpvectors-export.c app/actions/image-commands.c app/actions/select-commands.c 2007-12-26 17:33:41 +00:00
gimpvectors-export.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpvectors-import.c Revert the change which adds GError parameters to 2008-09-17 11:41:54 +00:00
gimpvectors-import.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpvectors-preview.c include "libgimpmath/gimpmathtypes.h" instead of "libgimpmath/gimpmath.h". 2007-03-09 13:00:01 +00:00
gimpvectors-preview.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpvectors-warp.c don't leak three GimpCoords per warped point (eek). 2007-05-21 22:46:16 +00:00
gimpvectors-warp.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimpvectors.c Based on a patch from Alexia Death (bug #543706): 2008-07-23 08:30:22 +00:00
gimpvectors.h app/vectors/gimpvectors.[ch] app/vectors/gimpstroke.[ch] Implement 2008-05-12 21:47:07 +00:00
gimpvectorsmodundo.c removed "add_alpha" parameter from gimp_item_duplicate() and 2008-01-08 11:46:15 +00:00
gimpvectorsmodundo.h app/vectors/Makefile.am app/vectors/vectors-types.h new undo class for 2007-01-31 19:56:41 +00:00
gimpvectorspropundo.c app/vectors/Makefile.am app/vectors/vectors-types.h new undo class which 2007-01-30 22:06:55 +00:00
gimpvectorspropundo.h app/vectors/Makefile.am app/vectors/vectors-types.h new undo class which 2007-01-30 22:06:55 +00:00
gimpvectorsundo.c app/core/Makefile.am app/core/core-types.h app/core/gimpchannelundo.[ch] 2007-01-31 12:33:03 +00:00
gimpvectorsundo.h app/core/Makefile.am app/core/core-types.h app/core/gimpchannelundo.[ch] 2007-01-31 12:33:03 +00:00
Makefile.am app/vectors/gimpvectors.[ch] app/vectors/gimpstroke.[ch] Implement 2008-05-12 21:47:07 +00:00
makefile.msc updated and removed -GD to let msvc9 complain less 2007-12-09 14:11:09 +00:00
vectors-enums.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
vectors-types.h add a comment explaining the hack. 2008-05-13 09:18:32 +00:00