[gimp] Bug 756030 - file-pdf-save-multi PDB API is mis-specified



commit 3c717ac4835085729a488bfcf2e326f54fa7a64a
Author: Jonathan Tait <jontait2 gmail com>
Date:   Sun Oct 4 06:36:57 2015 +0100

    Bug 756030 - file-pdf-save-multi PDB API is mis-specified
    
    file-pdf-save-multi did not honor the PDB array passing standard.

 plug-ins/common/file-pdf-save.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index e4a80a9..0fb98ad 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -156,8 +156,8 @@ typedef enum
 typedef enum
 {
   SMA_RUN_MODE,
-  SMA_IMAGES,
   SMA_COUNT,
+  SMA_IMAGES,
   SMA_VECTORIZE,
   SMA_IGNORE_HIDDEN,
   SMA_APPLY_MASKS,
@@ -298,8 +298,8 @@ query (void)
   static GimpParamDef save_multi_args[] =
   {
     { GIMP_PDB_INT32,      "run-mode",     "Run mode" },
-    { GIMP_PDB_INT32ARRAY, "images",       "Input image for each page (An image can appear more than once)" 
},
     { GIMP_PDB_INT32,      "count",        "The amount of images entered (This will be the amount of pages). 
1 <= count <= MAX_PAGE_COUNT" },
+    { GIMP_PDB_INT32ARRAY, "images",       "Input image for each page (An image can appear more than once)" 
},
     { GIMP_PDB_INT32,      "vectorize",    "Convert bitmaps to vector graphics where possible. TRUE or 
FALSE" },
     { GIMP_PDB_INT32,      "ignore-hidden","Omit hidden layers and layers with zero opacity. TRUE or FALSE" 
},
     { GIMP_PDB_INT32,      "apply-masks",  "Apply layer masks before saving. TRUE or FALSE (Keeping them 
will not change the output)" },


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