[color] Add support for the "#rgba" color format
authorRobert Staudinger <robsta@gnome.org>
Mon, 1 Jun 2009 16:54:46 +0000 (18:54 +0200)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 1 Jun 2009 17:42:28 +0000 (18:42 +0100)
commitbd13a4ddc486586bc1051080cbe64c2d90ee853e
treead07a3420f73e556d87c984a5fd08c49edd8c197
parentffd5fb172b390f7fbdeadce3dda181a67a1e7916
[color] Add support for the "#rgba" color format

clutter_color_from_string() only supported the "#rrggbbaa" format with
alpha channel, this patch adds support for "#rgba".

Colors in "#rrggbb" format were parsed manually, this is now left to
the pango color parsing fallback, since that's handling it just fine.

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
clutter/clutter-color.c