diff --git a/ChangeLog b/ChangeLog index 5b8d84c66c..8aab516aa7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-25 Manish Singh + + * plug-ins/pygimp/pygimp-pdb.c: quick fix so colors in the PDB work + again. + 2006-06-25 Manish Singh * libgimp/gimpuitypes.h diff --git a/plug-ins/pygimp/pygimp-pdb.c b/plug-ins/pygimp/pygimp-pdb.c index 373a927cc2..9b4d2dfbb8 100644 --- a/plug-ins/pygimp/pygimp-pdb.c +++ b/plug-ins/pygimp/pygimp-pdb.c @@ -452,8 +452,8 @@ pygimp_param_from_tuple(PyObject *args, const GimpParamDef *ptype, int nparams) b = PySequence_GetItem(item, 2); check(!PyInt_Check(r) || !PyInt_Check(g) || !PyInt_Check(b)); - gimp_rgb_set_uchar(&ret[i].data.d_color, PyInt_AsLong(r), - PyInt_AsLong(g), PyInt_AsLong(b)); + gimp_rgba_set_uchar(&ret[i].data.d_color, PyInt_AsLong(r), + PyInt_AsLong(g), PyInt_AsLong(b), 255); break; case GIMP_PDB_REGION: check(!PySequence_Check(item) ||