The format should be "%02x%02x%02x%02x" because we use guint8 for each
component, and not guint16. The string before was completely broken.
+2007-10-22 Emmanuele Bassi <ebassi@openedhand.com>
+
+ * clutter/clutter-color.c (clutter_color_to_string): Change
+ the print format to "%02x%02x%02x%02x" because we use guint8
+ for each component, not guint16.
+
2007-10-19 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-entry.c (clutter_entry_paint): Fixed off by
{
g_return_val_if_fail (color != NULL, NULL);
- return g_strdup_printf ("#%04x%04x%04x%04x",
+ return g_strdup_printf ("#%02x%02x%02x%02x",
color->red,
color->green,
color->blue,