[gimp] Issue #5984 file-openraster-save throws CRITICAL at Gimp.ObjectArray.new()



commit d001e4b38b33e6520fa4c30db5465d92ecf371bc
Author: Jacob Boerema <jgboerema gmail com>
Date:   Mon Jan 25 11:56:44 2021 -0500

    Issue #5984 file-openraster-save throws CRITICAL at Gimp.ObjectArray.new()

 plug-ins/python/file-openraster.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/python/file-openraster.py b/plug-ins/python/file-openraster.py
index 136472064d..60dda2bc4d 100755
--- a/plug-ins/python/file-openraster.py
+++ b/plug-ins/python/file-openraster.py
@@ -143,7 +143,7 @@ def save_ora(procedure, run_mode, image, n_drawables, drawables, file, args, dat
             GObject.Value(Gimp.RunMode, Gimp.RunMode.NONINTERACTIVE),
             GObject.Value(Gimp.Image, image),
             GObject.Value(GObject.TYPE_INT, 1),
-            GObject.Value(Gimp.ObjectArray, Gimp.ObjectArray.new(Gimp.Drawable, [drawable], 1)),
+            GObject.Value(Gimp.ObjectArray, Gimp.ObjectArray.new(Gimp.Drawable, [drawable], False)),
             GObject.Value(Gio.File, Gio.File.new_for_path(tmp)),
             GObject.Value(GObject.TYPE_BOOLEAN, interlace),
             GObject.Value(GObject.TYPE_INT, compression),


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