fix _vectors_id to return a tuple for the ID. Spotted and fixed by Joao.

2008-05-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpshelf.py: fix _vectors_id to return a tuple
        for the ID. Spotted and fixed by Joao.

svn path=/branches/gimp-2-4/; revision=25866
This commit is contained in:
Manish Singh 2008-05-29 22:23:07 +00:00 committed by Manish Singh
parent e67222f42f
commit 0343c2b5b9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-05-29 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpshelf.py: fix _vectors_id to return a tuple
for the ID. Spotted and fixed by Joao.
2008-05-29 Sven Neumann <sven@gimp.org>
* configure.in: bumped version to 2.4.7 (interface age 7).

View File

@ -52,7 +52,7 @@ def _display_id(obj):
return gimp._id2display, (obj.ID,)
def _vectors_id(obj):
return gimp._id2vectors, int(obj.ID)
return gimp._id2vectors, (int(obj.ID),)
copy_reg.pickle(gimp.Image, _image_id, gimp._id2image)
copy_reg.pickle(gimp.Layer, _drawable_id, gimp._id2drawable)