mirror of https://github.com/GNOME/gimp.git
removed a historical enum constraint that caused bug #120915.
2003-08-28 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/image.pdb: removed a historical enum constraint that caused bug #120915. * app/pdb/image_cmds.c: regenerated.
This commit is contained in:
parent
299104c3df
commit
08e8072f22
|
@ -1,3 +1,10 @@
|
|||
2003-08-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* tools/pdbgen/pdb/image.pdb: removed a historical enum constraint
|
||||
that caused bug #120915.
|
||||
|
||||
* app/pdb/image_cmds.c: regenerated.
|
||||
|
||||
2003-08-28 Simon Budig <simon@gimp.org>
|
||||
|
||||
* app/tools/gimptransformtool.c: Modified the test when to paint
|
||||
|
|
|
@ -3346,7 +3346,7 @@ image_get_component_active_invoker (Gimp *gimp,
|
|||
success = FALSE;
|
||||
|
||||
component = args[1].value.pdb_int;
|
||||
if (component < GIMP_GREEN_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
if (component < GIMP_RED_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
success = FALSE;
|
||||
|
||||
if (success)
|
||||
|
@ -3420,7 +3420,7 @@ image_set_component_active_invoker (Gimp *gimp,
|
|||
success = FALSE;
|
||||
|
||||
component = args[1].value.pdb_int;
|
||||
if (component < GIMP_GREEN_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
if (component < GIMP_RED_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
success = FALSE;
|
||||
|
||||
active = args[2].value.pdb_int ? TRUE : FALSE;
|
||||
|
@ -3490,7 +3490,7 @@ image_get_component_visible_invoker (Gimp *gimp,
|
|||
success = FALSE;
|
||||
|
||||
component = args[1].value.pdb_int;
|
||||
if (component < GIMP_GREEN_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
if (component < GIMP_RED_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
success = FALSE;
|
||||
|
||||
if (success)
|
||||
|
@ -3564,7 +3564,7 @@ image_set_component_visible_invoker (Gimp *gimp,
|
|||
success = FALSE;
|
||||
|
||||
component = args[1].value.pdb_int;
|
||||
if (component < GIMP_GREEN_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
if (component < GIMP_RED_CHANNEL || component > GIMP_ALPHA_CHANNEL)
|
||||
success = FALSE;
|
||||
|
||||
visible = args[2].value.pdb_int ? TRUE : FALSE;
|
||||
|
|
|
@ -1191,7 +1191,7 @@ $#procs--;
|
|||
|
||||
my $comp_arg = <<'CODE';
|
||||
splice @inargs, 1, 0, ({ name => 'component',
|
||||
type => 'enum GimpChannelType (no AUXILLARY_CHANNEL)',
|
||||
type => 'enum GimpChannelType',
|
||||
desc => 'The image component: { %%desc%% }' });
|
||||
|
||||
$invoke{code} = <<'SUCCESS';
|
||||
|
|
Loading…
Reference in New Issue