summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2013-10-04 15:48:05 -0700
committerSimon Feltman <sfeltman@src.gnome.org>2013-10-04 15:51:44 -0700
commitb01daba04ff001b9e63d343938e879d339d9a98c (patch)
tree6492a98c1cab694b7fbe637e876b53439e9e060e
parentd644cbd0c0ad85142286754838db848c4eb1707f (diff)
downloadpygobject-b01daba04ff001b9e63d343938e879d339d9a98c.tar.gz
Use PYGLIB_PyLong_FromLong for GIDirection return
https://bugzilla.gnome.org/show_bug.cgi?id=709008
-rw-r--r--gi/pygi-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygi-info.c b/gi/pygi-info.c
index 7164ff92..632b308f 100644
--- a/gi/pygi-info.c
+++ b/gi/pygi-info.c
@@ -620,7 +620,7 @@ PYGLIB_DEFINE_TYPE ("gi.ArgInfo", PyGIArgInfo_Type, PyGIBaseInfo);
static PyObject *
_wrap_g_arg_info_get_direction (PyGIBaseInfo *self)
{
- return PyLong_FromLong (
+ return PYGLIB_PyLong_FromLong (
g_arg_info_get_direction ((GIArgInfo*)self->info) );
}