diff --git a/ChangeLog b/ChangeLog index a601ee8523..33f9ae319b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-08-01 Sven Neumann + + * libgimpcolor/gimprgb-parse.c: corrected documentation. + 2007-07-31 Sven Neumann * app/tools/gimprectangleselecttool.c diff --git a/libgimpcolor/gimprgb-parse.c b/libgimpcolor/gimprgb-parse.c index c0ebf465ba..6bb63840b0 100644 --- a/libgimpcolor/gimprgb-parse.c +++ b/libgimpcolor/gimprgb-parse.c @@ -216,16 +216,13 @@ static const ColorEntry named_colors[] = * @name: a color name (in UTF-8 encoding) * @len: the length of @name, in bytes. or -1 if @name is nul-terminated * - * Attempts to parse a color name. This function accepts RGB hex - * values or SVG 1.0 - * color keywords. The format of an RGB value in hexadecimal - * notation is a '#' immediately followed by either three or six - * hexadecimal characters. + * Attempts to parse a color name. This function accepts SVG 1.0 color keywords. * * This function does not touch the alpha component of @rgb. * - * Return value: %TRUE if @name was parsed successfully and @rgb has been - * set, %FALSE otherwise + * Return value: %TRUE if @name was parsed successfully and @rgb has + * been set, %FALSE otherwise * * Since: GIMP 2.2 **/ @@ -255,13 +252,13 @@ gimp_rgb_parse_name (GimpRGB *rgb, * @hex: a string describing a color in hexadecimal notation * @len: the length of @hex, in bytes. or -1 if @hex is nul-terminated * - * Attempts to parse a string describing a color in RGB value in - * hexadecimal notation (optionally prefixed with a '#'). + * Attempts to parse a string describing an RGB color in hexadecimal + * notation (optionally prefixed with a '#'). * * This function does not touch the alpha component of @rgb. * - * Return value: %TRUE if @hex was parsed successfully and @rgb has been - * set, %FALSE otherwise + * Return value: %TRUE if @hex was parsed successfully and @rgb has + * been set, %FALSE otherwise * * Since: GIMP 2.2 **/ @@ -291,10 +288,10 @@ gimp_rgb_parse_hex (GimpRGB *rgb, * @css: a string describing a color in CSS notation * @len: the length of @hex, in bytes. or -1 if @hex is nul-terminated * - * Attempts to parse a string describing a color in RGB value in CSS + * Attempts to parse a string describing an RGB color in CSS * notation. This can be either a numerical representation - * (rgb(255,0,0) or rgb(100%,0%,0%)) or - * a hexadecimal notation as parsed by gimp_rgb_parse_hex() + * (rgb(255,0,0) or rgb(100%,0%,0%)) + * or a hexadecimal notation as parsed by gimp_rgb_parse_hex() * (##ff0000) or a color name as parsed by * gimp_rgb_parse_name() (red). *