diff options
Diffstat (limited to 'gi/pygi-value.c')
-rw-r--r-- | gi/pygi-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygi-value.c b/gi/pygi-value.c index 8235116..f54f8e1 100644 --- a/gi/pygi-value.c +++ b/gi/pygi-value.c @@ -555,7 +555,7 @@ pyg_value_from_pyobject_with_error(GValue *value, PyObject *obj) * GObject.ParamSpec */ if (G_IS_PARAM_SPEC (pygobject_get (obj))) g_value_set_param(value, G_PARAM_SPEC (pygobject_get (obj))); - else if (PyGParamSpec_Check(obj)) + else if (pyg_param_spec_check (obj)) g_value_set_param(value, PYGLIB_CPointer_GetPointer(obj, NULL)); else { PyErr_SetString(PyExc_TypeError, "Expected ParamSpec"); |