mirror of https://github.com/GNOME/gimp.git
handle GIMP_PDB_COLOR correctly. This fixes
2002-08-31 James Henstridge <james@daa.com.au> * libgimp/gimp.c (gimp_run_procedure): handle GIMP_PDB_COLOR correctly. This fixes gimp_palette_set_{back,fore}ground.
This commit is contained in:
parent
fe65e90a5f
commit
dd87d9f127
|
@ -1,3 +1,8 @@
|
|||
2002-08-31 James Henstridge <james@daa.com.au>
|
||||
|
||||
* libgimp/gimp.c (gimp_run_procedure): handle GIMP_PDB_COLOR
|
||||
correctly. This fixes gimp_palette_set_{back,fore}ground.
|
||||
|
||||
2002-08-29 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* tools/pdbgen/lib.pl: fix minor buglet that earlier perls silently
|
||||
|
|
|
@ -502,6 +502,7 @@ gimp_run_procedure (gchar *name,
|
|||
(void) va_arg (args, gchar **);
|
||||
break;
|
||||
case GIMP_PDB_COLOR:
|
||||
(void) va_arg (args, GimpRGB *);
|
||||
break;
|
||||
case GIMP_PDB_PARASITE:
|
||||
(void) va_arg (args, GimpParasite *);
|
||||
|
@ -559,6 +560,7 @@ gimp_run_procedure (gchar *name,
|
|||
proc_run.params[i].data.d_stringarray = va_arg (args, gchar **);
|
||||
break;
|
||||
case GIMP_PDB_COLOR:
|
||||
proc_run.params[i].data.d_color = *va_arg (args, GimpRGB *);
|
||||
break;
|
||||
case GIMP_PDB_REGION:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue