diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-03-31 10:13:37 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-03-31 10:16:24 +0200 |
commit | 515fe7b2cb2603b08af263a92a9ea82525bd2ac1 (patch) | |
tree | 0217958299370e658f021e6634c5317b310d4476 /gi/pygi-boxed.c | |
parent | cf0d51009a1b16ffa26ffdd972ca1948af741f1a (diff) | |
download | pygobject-515fe7b2cb2603b08af263a92a9ea82525bd2ac1.tar.gz |
Port more integer converters
Diffstat (limited to 'gi/pygi-boxed.c')
-rw-r--r-- | gi/pygi-boxed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gi/pygi-boxed.c b/gi/pygi-boxed.c index eaf56d69..ce3d7487 100644 --- a/gi/pygi-boxed.c +++ b/gi/pygi-boxed.c @@ -23,6 +23,7 @@ #include "pygi-info.h" #include "pygboxed.h" #include "pygi-type.h" +#include "pygi-basictype.h" #include "pygi-python-compat.h" #include <girepository.h> @@ -189,7 +190,7 @@ pygi_boxed_new (PyTypeObject *type, static PyObject * boxed_get_free_on_dealloc(PyGIBoxed *self, void *closure) { - return PyBool_FromLong( ((PyGBoxed *)self)->free_on_dealloc ); + return pygi_gboolean_to_py( ((PyGBoxed *)self)->free_on_dealloc ); } /** |