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
..
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2008-07-23 06:47:23 +00:00
2006-12-09 21:33:38 +00:00
2007-11-11 12:48:42 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2008-09-17 11:41:54 +00:00
2006-12-09 21:33:38 +00:00
2008-02-07 07:38:55 +00:00
2006-12-09 21:33:38 +00:00
2007-07-17 11:00:56 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2008-08-16 00:27:32 +00:00
2007-03-09 13:00:01 +00:00
2006-12-24 16:48:08 +00:00
2006-12-24 16:48:08 +00:00
2007-12-23 16:58:41 +00:00
2006-12-09 21:33:38 +00:00
2008-01-08 11:46:15 +00:00
2006-12-09 21:33:38 +00:00
2008-08-20 17:07:46 +00:00
2006-12-09 21:33:38 +00:00
2008-04-02 21:32:32 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2007-01-30 15:08:59 +00:00
2007-06-25 12:41:59 +00:00
2007-12-09 14:11:09 +00:00
2008-03-31 21:48:07 +00:00
2008-03-31 21:48:07 +00:00
2006-12-09 21:33:38 +00:00