Commit 4aeca6c6 authored by Björn Lindqvist's avatar Björn Lindqvist Committed by Björn Lindqvist

Update docstring to match pango_color_parse, do not reference XParseColor

2008-05-24  Björn Lindqvist  <bjourne@gmail.com>

	* gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
	pango_color_parse, do not reference XParseColor forms (#434991). 

svn path=/trunk/; revision=20135
parent 6b96eae1
2008-05-24 Björn Lindqvist <bjourne@gmail.com>
* gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
pango_color_parse, do not reference XParseColor forms (#434991).
2008-05-24 James Sharpe <jsharpe@gnome.org> 2008-05-24 James Sharpe <jsharpe@gnome.org>
* gdk/gdk.symbols: Remove duplicate * gdk/gdk.symbols: Remove duplicate
......
...@@ -316,17 +316,18 @@ gdk_color_get_type (void) ...@@ -316,17 +316,18 @@ gdk_color_get_type (void)
* @spec: the string specifying the color. * @spec: the string specifying the color.
* @color: the #GdkColor to fill in * @color: the #GdkColor to fill in
* *
* Parses a textual specification of a color and fill in * Parses a textual specification of a color and fill in the
* the <structfield>red</structfield>, * <structfield>red</structfield>, <structfield>green</structfield>,
* <structfield>green</structfield>, and * and <structfield>blue</structfield> fields of a #GdkColor
* <structfield>blue</structfield> fields of a * structure. The color is <emphasis>not</emphasis> allocated, you
* #GdkColor structure. The color is <emphasis>not</emphasis> * must call gdk_colormap_alloc_color() yourself. The string can
* allocated, you must call gdk_colormap_alloc_color() yourself. * either one of a large set of standard names. (Taken from the X11
* The text string can be in any of the forms accepted * <filename>rgb.txt</filename> file), or it can be a hex value in the
* by <function>XParseColor</function>; these include * form '&num;rgb' '&num;rrggbb' '&num;rrrgggbbb' or
* name for a color from <filename>rgb.txt</filename>, such as * '&num;rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the
* <literal>DarkSlateGray</literal>, or a hex specification * red, green, and blue components of the color, respectively. (White
* such as <literal>&num;3050b2</literal> or <literal>&num;35b</literal>. * in the four forms is '&num;fff' '&num;ffffff' '&num;fffffffff' and
* '&num;ffffffffffff')
* *
* Return value: %TRUE if the parsing succeeded. * Return value: %TRUE if the parsing succeeded.
**/ **/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment