[gegl] operations: use "degree" not "degrees" as "unit" key value



commit 5ebaf67e53e604439b9ccb6b12d4d6058d464ba5
Author: Michael Natterer <mitch gimp org>
Date:   Sun May 18 22:53:42 2014 +0200

    operations: use "degree" not "degrees" as "unit" key value

 operations/common/motion-blur-linear.c |    2 +-
 operations/common/whirl-pinch.c        |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/motion-blur-linear.c b/operations/common/motion-blur-linear.c
index e8e8b51..7f21ae4 100644
--- a/operations/common/motion-blur-linear.c
+++ b/operations/common/motion-blur-linear.c
@@ -33,7 +33,7 @@ gegl_property_double (length, _("Length"),
 gegl_property_double (angle, _("Angle"),
     "description", _("Angle of blur in degrees"),
     "default", 0.0, "min", -180.0, "max", 180.0,
-    "unit", "degrees",
+    "unit", "degree",
     NULL)
 
 #else
diff --git a/operations/common/whirl-pinch.c b/operations/common/whirl-pinch.c
index be9844f..7cd4010 100644
--- a/operations/common/whirl-pinch.c
+++ b/operations/common/whirl-pinch.c
@@ -36,8 +36,8 @@
 gegl_property_double (whirl, _("Whirl"),
     "description", _("Whirl angle (degrees)"),
     "default", 90.0,
-    "ui-min", -720.0, "ui-max", 720.0, "ui-gamma", 1.0,
-    "unit", "degrees",
+    "ui-min", -720.0, "ui-max", 720.0,
+    "unit", "degree",
     NULL)
 
 gegl_property_double (pinch, _("Pinch"),


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