diff options
Diffstat (limited to 'tests/testhelpermodule.c')
-rw-r--r-- | tests/testhelpermodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c index d78cf55..dc8c609 100644 --- a/tests/testhelpermodule.c +++ b/tests/testhelpermodule.c @@ -82,7 +82,7 @@ _wrap_test_g_object_new (PyObject * self) PyObject *rv; obj = g_object_new(g_type_from_name("PyGObject"), NULL); - rv = PyInt_FromLong(obj->ref_count); /* should be == 2 at this point */ + rv = _PyLong_FromLong(obj->ref_count); /* should be == 2 at this point */ g_object_unref(obj); return rv; } |