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



commit 332f662cda4c2c31b5a6dda84ba19adcf256bca1
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.

 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 1af6b198b9..b7ebe84c60 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]