path: root/color.h
diff options
authorGuy Harris <guy@alum.mit.edu>2004-07-24 02:08:42 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-24 02:08:42 +0000
commit13e4c5b1f20efd4e652b868c30461af776ea58f4 (patch)
tree44f3203b1e0cbe1a3d0f7c6244bc80707ab5d393 /color.h
parente046206fad6955fda3daca36477456040287d1a0 (diff)
Rename "create_color()" to "initialize_color()", as that reflects a bit
better what it actually does. svn path=/trunk/; revision=11502
Diffstat (limited to 'color.h')
1 files changed, 3 insertions, 3 deletions
diff --git a/color.h b/color.h
index 043f3b07d8..449eddcea5 100644
--- a/color.h
+++ b/color.h
@@ -43,8 +43,8 @@ typedef struct {
guint16 blue;
} color_t;
-/** Create a color from R, G, and B values, and do whatever toolkit-dependent
- ** work needs to be done.
+/** Initialize a color with R, G, and B values, including any toolkit-dependent
+ ** work that needs to be done.
* @param color the color_t to be filled
* @param red the red value for the color
@@ -53,7 +53,7 @@ typedef struct {
* @param source the GdkColor to be filled
* @return TRUE if it succeeds, FALSE if it fails
-gboolean create_color(color_t *color, guint16 red, guint16 green, guint16 blue);
+gboolean initialize_color(color_t *color, guint16 red, guint16 green, guint16 blue);
/* Data for a color filter. */
typedef struct _color_filter {