diff options
author | Johan Dahlin <johan@gnome.org> | 2008-07-18 08:25:21 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-18 08:25:21 +0000 |
commit | 7f0bd05620ae6ece9e324345c7e0270631c5a127 (patch) | |
tree | 7f680e77fc4962545e5456947e251203ae22fee9 | |
parent | 38a87937b2223e28baa94a8c4014a598bf957688 (diff) | |
download | pygobject-7f0bd05620ae6ece9e324345c7e0270631c5a127.tar.gz |
define NO_IMPORT_PYGOBJECT before including pygobject.h
2008-07-18 Johan Dahlin <johan@gnome.org>
* gio/pygio-utils.h:
define NO_IMPORT_PYGOBJECT before including pygobject.h
svn path=/trunk/; revision=826
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gio/pygio-utils.h | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2008-07-18 Johan Dahlin <johan@gnome.org> + * gio/pygio-utils.h: + define NO_IMPORT_PYGOBJECT before including pygobject.h + +2008-07-18 Johan Dahlin <johan@gnome.org> + * gio/giomodule.c (init_gio): Require pygobject 2.15.2 diff --git a/gio/pygio-utils.h b/gio/pygio-utils.h index 0ebad553..02645baa 100644 --- a/gio/pygio-utils.h +++ b/gio/pygio-utils.h @@ -23,9 +23,10 @@ #ifndef __PYGIO_UTILS_H__ #define __PYGIO_UTILS_H__ +#define NO_IMPORT_PYGOBJECT #include <Python.h> -#include <gio/gio.h> #include <pygobject.h> +#include <gio/gio.h> extern PyTypeObject PyGCancellable_Type; |