[gimp] libgimp: argument array for GimpImageProcedure was incremented…



commit 72d4b91cc1df4271ad68aa23908676f14b5f1937
Author: Jehan <jehan girinstud io>
Date:   Mon Apr 19 18:43:24 2021 +0200

    libgimp: argument array for GimpImageProcedure was incremented…
    
    … with the updated API with one more argument (n_drawables + drawables
    instead of single drawable).
    This went unnoticed as most plug-ins use a config with named properties
    instead of ordered GimpValueArray now.

 libgimp/gimpimageprocedure.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimp/gimpimageprocedure.c b/libgimp/gimpimageprocedure.c
index 4709c57886..05c068610b 100644
--- a/libgimp/gimpimageprocedure.c
+++ b/libgimp/gimpimageprocedure.c
@@ -114,7 +114,7 @@ gimp_image_procedure_finalize (GObject *object)
   G_OBJECT_CLASS (parent_class)->finalize (object);
 }
 
-#define ARG_OFFSET 3
+#define ARG_OFFSET 4
 
 static GimpValueArray *
 gimp_image_procedure_run (GimpProcedure        *procedure,


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