[gegl] noise-rgb: compact property meta-data



commit abb33e7f7908322297989cb9d0195433d9a85a22
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri May 16 21:13:10 2014 +0200

    noise-rgb: compact property meta-data

 operations/common/noise-rgb.c |   67 +++++++++++------------------------------
 1 files changed, 18 insertions(+), 49 deletions(-)
---
diff --git a/operations/common/noise-rgb.c b/operations/common/noise-rgb.c
index 6b40e35..1e454a5 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]