fix subsequent error (calculated parameters where not used)
2008-01-26 Joao S. O. Bueno <gwidion@mpc.com.br> * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix subsequent error (calculated parameters where not used) svn path=/trunk/; revision=24715
This commit is contained in:

committed by
João Sebastião de Oliveira Bueno Calligaris

parent
dc84799993
commit
2ca4dcf882
@ -1,3 +1,8 @@
|
||||
2008-01-26 Joao S. O. Bueno <gwidion@mpc.com.br>
|
||||
|
||||
* plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
|
||||
subsequent error (calculated parameters where not used)
|
||||
|
||||
2008-01-26 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
|
||||
|
@ -2398,6 +2398,10 @@ pygimp_rgb_from_pyobject(PyObject *object, GimpRGB *color)
|
||||
SET_MEMBER(a);
|
||||
else
|
||||
rgb.a = 1.0;
|
||||
color->r = rgb.r;
|
||||
color->g = rgb.g;
|
||||
color->b = rgb.b;
|
||||
color->a = rgb.a;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user