summaryrefslogtreecommitdiff
path: root/operations
diff options
context:
space:
mode:
authorØyvind Kolås <pippin@gimp.org>2014-05-16 21:13:10 +0200
committerØyvind Kolås <pippin@gimp.org>2014-05-16 21:13:10 +0200
commitabb33e7f7908322297989cb9d0195433d9a85a22 (patch)
treeeb228a78c8ee4330d5ba81f4f1a644930f7a2791 /operations
parent3941cea7910188502b20317ec8ebe0024c5cad05 (diff)
noise-rgb: compact property meta-data
Diffstat (limited to 'operations')
-rw-r--r--operations/common/noise-rgb.c67
1 files changed, 18 insertions, 49 deletions
diff --git a/operations/common/noise-rgb.c b/operations/common/noise-rgb.c
index 6b40e352..1e454a5a 100644
--- a/operations/common/noise-rgb.c
+++ b/operations/common/noise-rgb.c
@@ -25,55 +25,24 @@
#ifdef GEGL_PROPERTIES
-gegl_property_boolean (
- correlated,
- "nick", _("Correlated noise"),
- "default", FALSE,
- "blurb", "",
- NULL)
-
-gegl_property_boolean (
- independent,
- "nick", _("Independent RGB"),
- "default", TRUE,
- NULL)
-
-gegl_property_double (
- red,
- "nick", _("Red"),
- "min", 0.0,
- "max", 1.0,
- "default", 0.20,
- NULL)
-
-gegl_property_double (
- green,
- "nick", _("Green"),
- "min", 0.0,
- "max", 1.0,
- "default", 0.20,
- NULL)
-
-gegl_property_double (
- blue,
- "nick", _("Blue"),
- "min", 0.0,
- "max", 1.0,
- "default", 0.20,
- NULL)
-
-gegl_property_double (
- alpha,
- "nick", _("Alpha"),
- "min", 0.0,
- "max", 1.0,
- "default", 0.00,
- NULL)
-
-gegl_property_seed (
- seed, rand,
- "nick", _("Random seed"),
- NULL)
+gegl_property_boolean (correlated, "nick", _("Correlated noise"), NULL)
+
+gegl_property_boolean (independent, "nick", _("Independent RGB"),
+ "default", TRUE, NULL)
+
+gegl_property_double (red, "nick", _("Red"),
+ "default", 0.20, "min", 0.0, "max", 1.0, NULL)
+
+gegl_property_double (green, "nick", _("Green"),
+ "default", 0.20, "min", 0.0, "max", 1.0, NULL)
+
+gegl_property_double (blue, "nick", _("Blue"),
+ "default", 0.20, "min", 0.0, "max", 1.0, NULL)
+
+gegl_property_double (alpha, "nick", _("Alpha"),
+ "default", 0.00, "min", 0.0, "max", 1.0, NULL)
+
+gegl_property_seed (seed, rand, "nick", _("Random seed"), NULL)
#else