aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
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_filters.c
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_filters.c')
-rw-r--r--color_filters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/color_filters.c b/color_filters.c
index ea47340281..891710347a 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -256,7 +256,7 @@ read_filters_file(FILE *f, gpointer arg)
continue;
}
- if (!create_color(&fg_color, fg_r, fg_g, fg_b)) {
+ if (!initialize_color(&fg_color, fg_r, fg_g, fg_b)) {
/* oops */
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Could not allocate foreground color "
@@ -265,7 +265,7 @@ read_filters_file(FILE *f, gpointer arg)
skip_end_of_line = TRUE;
continue;
}
- if (!create_color(&bg_color, bg_r, bg_g, bg_b)) {
+ if (!initialize_color(&bg_color, bg_r, bg_g, bg_b)) {
/* oops */
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Could not allocate background color "