gimp r24715 - in trunk: . plug-ins/pygimp



Author: jsbueno
Date: Sun Jan 27 04:58:18 2008
New Revision: 24715
URL: http://svn.gnome.org/viewvc/gimp?rev=24715&view=rev

Log:
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)


Modified:
   trunk/ChangeLog
   trunk/plug-ins/pygimp/pygimp-colors.c

Modified: trunk/plug-ins/pygimp/pygimp-colors.c
==============================================================================
--- trunk/plug-ins/pygimp/pygimp-colors.c	(original)
+++ trunk/plug-ins/pygimp/pygimp-colors.c	Sun Jan 27 04:58:18 2008
@@ -2398,6 +2398,10 @@
             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;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]