app/plug-in/plug-in-params.c libgimp/gimp.[ch]
2006-06-25 Manish Singh <yosh@gimp.org> * app/plug-in/plug-in-params.c * libgimp/gimp.[ch] * libgimpbase/gimpprotocol.[ch] * plug-ins/common/colormap-remap.c * plug-ins/common/curve_bend.c * plug-ins/common/grid.c * plug-ins/pygimp/pygimp-pdb.c * plug-ins/script-fu/siod-wrapper.c * tools/pdbgen/pdb.pl: turn d_int8 and d_int8array into guint8. Fixes bug #344431.
This commit is contained in:
committed by
Manish Singh
parent
7cb2b3ec58
commit
f1e54be89d
@ -144,11 +144,11 @@ plug_in_params_to_args (GParamSpec **pspecs,
|
||||
count = g_value_get_int (&args->values[i - 1]);
|
||||
if (full_copy)
|
||||
gimp_value_set_int8array (&value,
|
||||
(guint8 *) params[i].data.d_int8array,
|
||||
params[i].data.d_int8array,
|
||||
count);
|
||||
else
|
||||
gimp_value_set_static_int8array (&value,
|
||||
(guint8 *) params[i].data.d_int8array,
|
||||
params[i].data.d_int8array,
|
||||
count);
|
||||
break;
|
||||
|
||||
@ -310,9 +310,9 @@ plug_in_args_to_params (GValueArray *args,
|
||||
|
||||
case GIMP_PDB_INT8ARRAY:
|
||||
if (full_copy)
|
||||
params[i].data.d_int8array = (gint8 *) gimp_value_dup_int8array (value);
|
||||
params[i].data.d_int8array = gimp_value_dup_int8array (value);
|
||||
else
|
||||
params[i].data.d_int8array = (gint8 *) gimp_value_get_int8array (value);
|
||||
params[i].data.d_int8array = (guint8 *) gimp_value_get_int8array (value);
|
||||
break;
|
||||
|
||||
case GIMP_PDB_FLOATARRAY:
|
||||
|
||||
Reference in New Issue
Block a user