[pygobject] Use PYGLIB_PyLong_FromLong for GIDirection return



commit b01daba04ff001b9e63d343938e879d339d9a98c
Author: Simon Feltman <sfeltman src gnome org>
Date:   Fri Oct 4 15:48:05 2013 -0700

    Use PYGLIB_PyLong_FromLong for GIDirection return
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709008

 gi/pygi-info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygi-info.c b/gi/pygi-info.c
index 7164ff9..632b308 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) );
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]