diff --git a/ChangeLog b/ChangeLog index fcde6ecfda..b62e2163b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-11-26 Sven Neumann + + * tools/pdbgen/pdb/drawable.pdb: fixed docs for + gimp_drawable_type_with_alpha(). + + * app/pdb/drawable_cmds.c + * libgimp/gimpdrawable_pdb.c: regenerated. + 2004-11-26 Sven Neumann * plug-ins/winicon/main.[ch] (ico_image_get_reduced_buf) diff --git a/app/pdb/drawable_cmds.c b/app/pdb/drawable_cmds.c index 7760f13ea8..5c7785b9d7 100644 --- a/app/pdb/drawable_cmds.c +++ b/app/pdb/drawable_cmds.c @@ -433,7 +433,7 @@ static ProcRecord drawable_type_with_alpha_proc = { "gimp_drawable_type_with_alpha", "Returns the drawable's type with alpha.", - "This procedure returns the drawable's type if an alpha channel were added. If the type is currently Gray, for instance, the returned type would be GrayA. If the drawable already has an alpha channel, the drawable's type is simply returned.", + "This procedure returns the drawable's type as if had an alpha channel. If the type is currently Gray, for instance, the returned type would be GrayA. If the drawable already has an alpha channel, the drawable's type is simply returned.", "Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis", "1995-1996", diff --git a/libgimp/gimpdrawable_pdb.c b/libgimp/gimpdrawable_pdb.c index d74fce643b..a391ee0406 100644 --- a/libgimp/gimpdrawable_pdb.c +++ b/libgimp/gimpdrawable_pdb.c @@ -189,8 +189,8 @@ gimp_drawable_type (gint32 drawable_ID) * * Returns the drawable's type with alpha. * - * This procedure returns the drawable's type if an alpha channel were - * added. If the type is currently Gray, for instance, the returned + * This procedure returns the drawable's type as if had an alpha + * channel. If the type is currently Gray, for instance, the returned * type would be GrayA. If the drawable already has an alpha channel, * the drawable's type is simply returned. * diff --git a/tools/pdbgen/pdb/drawable.pdb b/tools/pdbgen/pdb/drawable.pdb index 1536908186..e10365af0b 100644 --- a/tools/pdbgen/pdb/drawable.pdb +++ b/tools/pdbgen/pdb/drawable.pdb @@ -384,10 +384,10 @@ HELP sub drawable_type_with_alpha { $help = <<'HELP'; -This procedure returns the drawable's type if an alpha channel were added. If -the type is currently Gray, for instance, the returned type would be GrayA. If -the drawable already has an alpha channel, the drawable's type is simply -returned. +This procedure returns the drawable's type as if had an alpha +channel. If the type is currently Gray, for instance, the returned +type would be GrayA. If the drawable already has an alpha channel, the +drawable's type is simply returned. HELP &drawable_prop_proc("the drawable's type with alpha", 'type_with_alpha',