Hi,
i tried to use PyClutter 0.4.2. During the use i found a bug in the
constructor of Color. There where some wrong character in the format
string (k instead of b | l | i).
I didn't opened a bug, since i got it fixed already including this diff.
Sorry If you prefer a bug report. If so tell me and I will send the next
there. If I find an other one but I hope not.
thanks for clutter looks just like what i was looking for.
Mathias
diff -ur pyclutter-0.4.2/clutter/clutter-color.override
pyclutter-0.4.2.n/clutter/clutter-color.override
--- pyclutter-0.4.2/clutter/clutter-color.override 2007-09-15
13:13:35.000000000 +0200
+++ pyclutter-0.4.2.n/clutter/clutter-color.override 2007-11-19
20:24:00.000940252 +0100
@@ -20,7 +20,7 @@
alpha = 0xff;
if (!PyArg_ParseTupleAndKeywords (args, kwargs,
- "|kkkk:clutter.Color", kwlist,
+ "|bbbb:clutter.Color", kwlist,
&red, &green, &blue, &alpha))
return -1;
@@ -94,7 +94,7 @@
ClutterColor color = { 0, };
if (!PyArg_ParseTupleAndKeywords (args, kwargs,
- "|kkk:color_from_hls", kwlist,
+ "|iii:color_from_hls", kwlist,
&h, &l, &s))
return NULL;
@@ -114,7 +114,7 @@
ClutterColor color = { 0, };
if (!PyArg_ParseTupleAndKeywords (args, kwargs,
- "k:color_from_pixel", kwlist,
+ "l:color_from_pixel", kwlist,
&pixel))
return NULL;