diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2010-08-16 13:51:05 -0400 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-25 10:51:18 +0200 |
commit | 1efa2b12913b194d433c17014bc1077271a6ca32 (patch) | |
tree | 5f1f2743e43dd4679a493c6520292151aeba2cda /gi/pygi-struct.c | |
parent | 6b902c66200c1684513a9ef31bdef3f2ff64e4fa (diff) | |
download | pygobject-1efa2b12913b194d433c17014bc1077271a6ca32.tar.gz |
some more p3k PyString and PyInt eradication in GI
* add the glib dir to the includes list in the build
* make sure we include the compat macros
* add GLIB_PyBytes_FromString to compat macros
* add GLIB_PyNumber_Long to compat macros
* use RichCompare instead of Compare
https://bugzilla.gnome.org/show_bug.cgi?id=615872
Diffstat (limited to 'gi/pygi-struct.c')
-rw-r--r-- | gi/pygi-struct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gi/pygi-struct.c b/gi/pygi-struct.c index ea56890c..ffdf501b 100644 --- a/gi/pygi-struct.c +++ b/gi/pygi-struct.c @@ -25,6 +25,7 @@ #include <pygobject.h> #include <girepository.h> +#include <pyglib-python-compat.h> static void _struct_dealloc (PyGIStruct *self) |