diff options
| author | John Ehresman <jpe@wingware.com> | 2010-04-15 11:00:00 -0400 |
|---|---|---|
| committer | John Ehresman <jpe@wingware.com> | 2010-04-15 12:18:19 -0400 |
| commit | 8f9195d59b30f6ac96dc8f7cd9e6e6033641466a (patch) | |
| tree | f00fecd641d1c53c7ba56857363a309be47f032b /gobject | |
| parent | c467185529f9c3cd4f7d687281789ce8ee7f04be (diff) | |
| download | pygobject-8f9195d59b30f6ac96dc8f7cd9e6e6033641466a.tar.gz pygobject-8f9195d59b30f6ac96dc8f7cd9e6e6033641466a.tar.xz pygobject-8f9195d59b30f6ac96dc8f7cd9e6e6033641466a.zip | |
METH_KEYWORDS w/o METH_VARARGS is invalid in python 3
Diffstat (limited to 'gobject')
| -rw-r--r-- | gobject/pygobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.c b/gobject/pygobject.c index 33cb927..7170bb0 100644 --- a/gobject/pygobject.c +++ b/gobject/pygobject.c @@ -2042,7 +2042,7 @@ static PyMethodDef pygobject_methods[] = { { "get_property", (PyCFunction)pygobject_get_property, METH_VARARGS }, { "get_properties", (PyCFunction)pygobject_get_properties, METH_VARARGS }, { "set_property", (PyCFunction)pygobject_set_property, METH_VARARGS }, - { "set_properties", (PyCFunction)pygobject_set_properties, METH_KEYWORDS }, + { "set_properties", (PyCFunction)pygobject_set_properties, METH_VARARGS|METH_KEYWORDS }, { "freeze_notify", (PyCFunction)pygobject_freeze_notify, METH_VARARGS }, { "notify", (PyCFunction)pygobject_notify, METH_VARARGS }, { "thaw_notify", (PyCFunction)pygobject_thaw_notify, METH_VARARGS }, |
