[gimp] Bug 594651 - layer.scale() raises RuntimeError



commit 2182dec09bee12db007b28f0797dc111ea6a1ec2
Author: Manish Singh <yosh gimp org>
Date:   Fri Sep 11 12:55:25 2009 -0700

    Bug 594651 - layer.scale() raises RuntimeError
    
    Add "interpolation" to kwlist for pygimp layer.scale()

 plug-ins/pygimp/pygimp-drawable.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/pygimp/pygimp-drawable.c b/plug-ins/pygimp/pygimp-drawable.c
index 86351a5..1a04470 100644
--- a/plug-ins/pygimp/pygimp-drawable.c
+++ b/plug-ins/pygimp/pygimp-drawable.c
@@ -1404,7 +1404,8 @@ lay_scale(PyGimpLayer *self, PyObject *args, PyObject *kwargs)
     int interpolation = -1;
     gboolean local_origin = FALSE;
 
-    static char *kwlist[] = { "width", "height", "local_origin", NULL };
+    static char *kwlist[] = { "width", "height", "local_origin",
+                              "interpolation", NULL };
 
     if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ii|ii:scale", kwlist,
 				     &new_width, &new_height,



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