[clutter/clutter-1.18] actor: Extend :scale-[xyz] factors in the negative range



commit f73b4d334a0237fbf87737a2334c27244dda3d65
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 10 18:35:12 2014 +0000

    actor: Extend :scale-[xyz] factors in the negative range
    
    The corresponding methods accept negative values already.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706311

 clutter/clutter-actor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 4943999..1a317a2 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -6852,7 +6852,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
     g_param_spec_double ("scale-x",
                          P_("Scale X"),
                          P_("Scale factor on the X axis"),
-                         0.0, G_MAXDOUBLE,
+                         -G_MAXDOUBLE, G_MAXDOUBLE,
                          1.0,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
@@ -6871,7 +6871,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
     g_param_spec_double ("scale-y",
                          P_("Scale Y"),
                          P_("Scale factor on the Y axis"),
-                         0.0, G_MAXDOUBLE,
+                         -G_MAXDOUBLE, G_MAXDOUBLE,
                          1.0,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
@@ -6890,7 +6890,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
     g_param_spec_double ("scale-z",
                          P_("Scale Z"),
                          P_("Scale factor on the Z axis"),
-                         0.0, G_MAXDOUBLE,
+                         -G_MAXDOUBLE, G_MAXDOUBLE,
                          1.0,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |


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