Bug 594651 - layer.scale() raises RuntimeError

Add "interpolation" to kwlist for pygimp layer.scale()
This commit is contained in:
Manish Singh
2009-09-11 12:55:25 -07:00
parent 45a8d1f487
commit 2182dec09b

View File

@ -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,