[gimp] app: fix PDB parameter type mapping for GIMP_TYPE_ITEM_ID



commit 5642297109d76705f852253f52275a13129a30cc
Author: Michael Natterer <mitch gimp org>
Date:   Sun May 15 01:47:21 2011 +0200

    app: fix PDB parameter type mapping for GIMP_TYPE_ITEM_ID
    
    and return GIMP_PDB_ITEM for GIMP_TYPE_ITEM_ID.

 app/pdb/gimp-pdb-compat.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/pdb/gimp-pdb-compat.c b/app/pdb/gimp-pdb-compat.c
index cd6bda2..52a1308 100644
--- a/app/pdb/gimp-pdb-compat.c
+++ b/app/pdb/gimp-pdb-compat.c
@@ -303,6 +303,7 @@ gimp_pdb_compat_arg_type_from_gtype (GType type)
         { GIMP_TYPE_STRING_ARRAY,    GIMP_PDB_STRINGARRAY },
         { GIMP_TYPE_COLOR_ARRAY,     GIMP_PDB_COLORARRAY  },
 
+        { GIMP_TYPE_ITEM_ID,         GIMP_PDB_ITEM        },
         { GIMP_TYPE_DISPLAY_ID,      GIMP_PDB_DISPLAY     },
         { GIMP_TYPE_IMAGE_ID,        GIMP_PDB_IMAGE       },
         { GIMP_TYPE_LAYER_ID,        GIMP_PDB_LAYER       },



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