[gegl] op/color-to-alpha: rename "value" property to "color"
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] op/color-to-alpha: rename "value" property to "color"
- Date: Sat, 31 Mar 2012 22:43:12 +0000 (UTC)
commit 13c31f5b858e4b81bc4b6cfaf054bc830d7d071e
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sat Mar 31 23:43:01 2012 +0100
op/color-to-alpha: rename "value" property to "color"
operations/common/color-to-alpha.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/color-to-alpha.c b/operations/common/color-to-alpha.c
index 7daaf6b..6b1bcea 100644
--- a/operations/common/color-to-alpha.c
+++ b/operations/common/color-to-alpha.c
@@ -24,7 +24,7 @@
#ifdef GEGL_CHANT_PROPERTIES
-gegl_chant_color (value, _("Color"), "black",
+gegl_chant_color (color, _("Color"), "black",
_("The color to render (defaults to 'black')"))
#else
@@ -139,7 +139,7 @@ process (GeglOperation *operation,
gegl_buffer_get (input, result, 1.0, format, src_buf,
GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
- gegl_color_get_rgba4f (o->value, color);
+ gegl_color_get_rgba4f (o->color, color);
for (x = 0; x < result->width * result->height; x++)
color_to_alpha (color, src_buf, 4 * x);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]