[gimp] app: fix wrong default value on gimp-plug-in-emboss compat proc.



commit eca4ca8c8c135c1e961e29fdcf7ee21e52e1abba
Author: Jehan <jehan girinstud io>
Date:   Fri Jul 19 11:11:34 2019 +0200

    app: fix wrong default value on gimp-plug-in-emboss compat proc.
    
    Fixes:
    > GIMP-CRITICAL: gimp_param_spec_int32: assertion 'default_value >= minimum && default_value <= maximum' 
failed

 app/pdb/plug-in-compat-cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/pdb/plug-in-compat-cmds.c b/app/pdb/plug-in-compat-cmds.c
index 1447ec27fd..e381dba867 100644
--- a/app/pdb/plug-in-compat-cmds.c
+++ b/app/pdb/plug-in-compat-cmds.c
@@ -6059,7 +6059,7 @@ register_plug_in_compat_procs (GimpPDB *pdb)
                                gimp_param_spec_int32 ("depth",
                                                       "depth",
                                                       "The Filter Width",
-                                                      1, 99, 0,
+                                                      1, 99, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("emboss",


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