[gegl] operations: always use "Random seed" not "Seed"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: always use "Random seed" not "Seed"
- Date: Sun, 18 May 2014 23:22:49 +0000 (UTC)
commit 6c1f37a5797e92d53e76f590ebfbc2ee81c48097
Author: Michael Natterer <mitch gimp org>
Date: Mon May 19 01:20:48 2014 +0200
operations: always use "Random seed" not "Seed"
operations/common/color-reduction.c | 4 ++--
operations/common/noise.c | 2 +-
operations/common/wind.c | 6 ++----
3 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/operations/common/color-reduction.c b/operations/common/color-reduction.c
index 7975e4a..7923f5c 100644
--- a/operations/common/color-reduction.c
+++ b/operations/common/color-reduction.c
@@ -52,8 +52,8 @@ gegl_chant_enum (dither_strategy, _("Dithering Strategy"),
GeglDitherStrategy, gegl_dither_strategy, GEGL_DITHER_RESILIENT,
_("The dithering strategy to use"))
-gegl_chant_seed (seed, rand, _("Seed"),
- _("Random seed"))
+gegl_chant_seed (seed, rand, _("Random seed"),
+ NULL)
#else
diff --git a/operations/common/noise.c b/operations/common/noise.c
index 3b2c9d3..60fb628 100644
--- a/operations/common/noise.c
+++ b/operations/common/noise.c
@@ -30,7 +30,7 @@ gegl_chant_double_ui (zoff, _("Z offset"), -G_MAXDOUBLE, G_MAXDOUBLE, -1, -1.0
NULL)
gegl_chant_int (n, _("Iteration"), 0, 20, 3,
NULL)
-gegl_chant_double_ui (seed, _("Seed"), -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, 0.0, 100.0, 1.0,
+gegl_chant_double_ui (seed, _("Random seed"), -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, 0.0, 100.0, 1.0,
NULL)
#else
diff --git a/operations/common/wind.c b/operations/common/wind.c
index ac91297..c33cd21 100644
--- a/operations/common/wind.c
+++ b/operations/common/wind.c
@@ -33,14 +33,12 @@ gegl_property_int (strength, _("Strength"),
"default", 40, "min", 1, "max", 1000,
NULL)
-gegl_property_seed (seed, _("Seed"), rand,
- "description", _("Random seed"),
- NULL)
+gegl_property_seed (seed, _("Random seed"), rand, NULL)
#else
#define GEGL_OP_AREA_FILTER
-#define GEGL_OP_C_FILE "wind.c"
+#define GEGL_OP_C_FILE "wind.c"
#include "gegl-op.h"
#include <stdlib.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]