[gimp/gimp-2-10] app: in gimp:compose-crop, fix x/y properties lower bound



commit a0742047b58936a57d83dc6d56be9a48a662c047
Author: Ell <ell_se yahoo com>
Date:   Thu Aug 1 23:35:14 2019 +0300

    app: in gimp:compose-crop, fix x/y properties lower bound
    
    ... from 0 to G_MININT.
    
    (cherry picked from commit 332f662cda4c2c31b5a6dda84ba19adcf256bca1)

 app/operations/gimpoperationcomposecrop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/operations/gimpoperationcomposecrop.c b/app/operations/gimpoperationcomposecrop.c
index 43f2821292..25e6247fc9 100644
--- a/app/operations/gimpoperationcomposecrop.c
+++ b/app/operations/gimpoperationcomposecrop.c
@@ -99,14 +99,14 @@ gimp_operation_compose_crop_class_init (GimpOperationComposeCropClass *klass)
                                    g_param_spec_int ("x",
                                                      "x",
                                                      "x",
-                                                     0, G_MAXINT, 0,
+                                                     G_MININT, G_MAXINT, 0,
                                                      G_PARAM_READWRITE |
                                                      G_PARAM_CONSTRUCT));
   g_object_class_install_property (object_class, PROP_Y,
                                    g_param_spec_int ("y",
                                                      "y",
                                                      "y",
-                                                     0, G_MAXINT, 0,
+                                                     G_MININT, G_MAXINT, 0,
                                                      G_PARAM_READWRITE |
                                                      G_PARAM_CONSTRUCT));
   g_object_class_install_property (object_class, PROP_WIDTH,


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