tools/pdbgen/pdb/channel.pdb removed duplicated APIs for "name", "visible"
2003-12-03 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/layer.pdb: removed duplicated APIs for "name", "visible" and "tattoo"... * tools/pdbgen/pdb/drawable.pdb: ...and added them as drawable APIs. * libgimp/gimpdrawable.[ch]: removed faked layer/channel polymorphisms, the functions are real drawable functions now. * libgimp/gimpcompat.h: added the old cruft here. * app/pdb/channel_cmds.c * app/pdb/drawable_cmds.c * app/pdb/internal_procs.c * app/pdb/layer_cmds.c * libgimp/gimpchannel_pdb.[ch] * libgimp/gimpdrawable_pdb.[ch] * libgimp/gimplayer_pdb.[ch]: regenerated. * libgimp/gimpexport.c * libgimp/gimpmenu.c * plug-ins/common/align_layers.c * plug-ins/common/animationplay.c * plug-ins/common/animoptimize.c * plug-ins/common/curve_bend.c * plug-ins/common/gbr.c * plug-ins/common/gif.c * plug-ins/common/gih.c * plug-ins/common/iwarp.c * plug-ins/common/mng.c * plug-ins/common/psd.c * plug-ins/common/psd_save.c * plug-ins/common/psp.c * plug-ins/xjt/xjt.c * plug-ins/gfig/gfig.c * plug-ins/script-fu/scripts/*.scm: changed accordingly. 2003-12-03 Michael Natterer <mitch@gimp.org> * libgimp/libgimp-sections.txt: updated.
This commit is contained in:
committed by
Michael Natterer
parent
2899728857
commit
a1f064c2ea
@ -145,7 +145,7 @@ gimp_layer_menu_new (GimpConstraintFunc constraint,
|
||||
for (j = 0; j < n_layers; j++)
|
||||
if (! constraint || (* constraint) (images[i], layers[j], data))
|
||||
{
|
||||
name = gimp_layer_get_name (layers[j]);
|
||||
name = gimp_drawable_get_name (layers[j]);
|
||||
gimp_menu_add_item (menu, image_label, name, layers[j]);
|
||||
g_free (name);
|
||||
|
||||
@ -212,7 +212,7 @@ gimp_channel_menu_new (GimpConstraintFunc constraint,
|
||||
for (j = 0; j < n_channels; j++)
|
||||
if (! constraint || (* constraint) (images[i], channels[j], data))
|
||||
{
|
||||
name = gimp_channel_get_name (channels[j]);
|
||||
name = gimp_drawable_get_name (channels[j]);
|
||||
gimp_menu_add_item (menu, image_label, name, channels[j]);
|
||||
g_free (name);
|
||||
|
||||
@ -279,7 +279,7 @@ gimp_drawable_menu_new (GimpConstraintFunc constraint,
|
||||
for (j = 0; j < n_layers; j++)
|
||||
if (! constraint || (* constraint) (images[i], layers[j], data))
|
||||
{
|
||||
name = gimp_layer_get_name (layers[j]);
|
||||
name = gimp_drawable_get_name (layers[j]);
|
||||
gimp_menu_add_item (menu, image_label, name, layers[j]);
|
||||
g_free (name);
|
||||
|
||||
@ -297,7 +297,7 @@ gimp_drawable_menu_new (GimpConstraintFunc constraint,
|
||||
for (j = 0; j < n_channels; j++)
|
||||
if (! constraint || (* constraint) (images[i], channels[j], data))
|
||||
{
|
||||
name = gimp_channel_get_name (channels[j]);
|
||||
name = gimp_drawable_get_name (channels[j]);
|
||||
gimp_menu_add_item (menu, image_label, name, channels[j]);
|
||||
g_free (name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user